libctf, testsuite: don't run without a suitable compiler
[deliverable/binutils-gdb.git] / libctf / testsuite / libctf-lookup / lookup.exp
index 51ad257c94fa75cf1a89bca637ad61d509330653..84ff46ce4d858b06844601e5cbdd5bcbbc37a54b 100644 (file)
@@ -23,6 +23,11 @@ if ![is_elf_format] {
     return 0
 }
 
+if {![check_ctf_available]} {
+    unsupported "no CTF format support in the compiler"
+    return 0
+}
+
 if {[info exists env(LC_ALL)]} {
     set old_lc_all $env(LC_ALL)
 }
This page took 0.036123 seconds and 4 git commands to generate.