libctf, testsuite: don't run without a suitable compiler
We never actually check to see if the compiler supports CTF, or even if a suitable compiler exists. libctf/ChangeLog 2021-01-05 Nick Alcock <nick.alcock@oracle.com> * Makefile.am (BASEDIR): New. (BFDDIR): Likewise. (check-DEJAGNU): Add development.exp to prerequisites. (development.exp): New. (CONFIG_STATUS_DEPENDENCIES): New. (EXTRA_DEJAGNU_SITE_CONFIG): Likewise. (DISTCLEANFILES): Likewise. * Makefile.in: Regenerated. * testsuite/lib/ctf-lib.exp (check_ctf_available): Return boolean. * testsuite/libctf-lookup/lookup.exp: Call check_ctf_available. * testsuite/libctf-regression/regression.exp: Likewise.
This commit is contained in:
parent
b4b6ea4680
commit
70d3120f32
6 changed files with 57 additions and 3 deletions
|
@ -18,6 +18,11 @@
|
|||
# MA 02110-1301, USA.
|
||||
#
|
||||
|
||||
if {![check_ctf_available]} {
|
||||
unsupported "no CTF format support in the compiler"
|
||||
return 0
|
||||
}
|
||||
|
||||
if ![is_elf_format] {
|
||||
unsupported "CTF needs bfd changes to be emitted on non-ELF"
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue