mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
30a794e9f1
The newly-introduced libctf-lookup unnamed-field-info test checks C compiler-observed field offsets against libctf-computed ones by #including the testcase in the lookup runner as well as generating CTF for it. This only works if the host, on which the lookup runner is compiled and executed, is the same architecture as the target, for which the CTF is generated: when crossing, the trick may fail. So pass down an indication of whether this is a cross into the testsuite, and add a new no_cross flag to .lk files that is used to suppress test execution when a cross-compiler is being tested. libctf/ * Makefile.am (check_DEJAGNU): Pass down TEST_CROSS. * Makefile.in: Regenerated. * testsuite/lib/ctf-lib.exp (run_lookup_test): Use it to implement the new no_cross option. * testsuite/libctf-lookup/unnamed-field-info.lk: Mark as no_cross. |
||
---|---|---|
.. | ||
ambiguous-struct-A.c | ||
ambiguous-struct-B.c | ||
ambiguous-struct.c | ||
ambiguous-struct.lk | ||
conflicting-type-syms-a.c | ||
conflicting-type-syms-b.c | ||
conflicting-type-syms.c | ||
conflicting-type-syms.lk | ||
enum-ctf.c | ||
enum-many-ctf.c | ||
enum-many.lk | ||
enum-symbol-ctf.c | ||
enum-symbol-obj.lk | ||
enum-symbol.c | ||
enum-symbol.lk | ||
enum.c | ||
enum.lk | ||
lookup.exp | ||
struct-iteration-ctf.c | ||
struct-iteration.c | ||
struct-iteration.lk | ||
struct-lookup.c | ||
struct-lookup.lk | ||
unnamed-field-info-ctf.c | ||
unnamed-field-info.c | ||
unnamed-field-info.lk |