aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-lookup
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/testsuite/libctf-lookup')
-rw-r--r--libctf/testsuite/libctf-lookup/lookup.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libctf/testsuite/libctf-lookup/lookup.exp b/libctf/testsuite/libctf-lookup/lookup.exp
index 51ad257..84ff46c 100644
--- a/libctf/testsuite/libctf-lookup/lookup.exp
+++ b/libctf/testsuite/libctf-lookup/lookup.exp
@@ -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)
}