aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/lib/ctf-lib.exp
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/testsuite/lib/ctf-lib.exp')
-rw-r--r--libctf/testsuite/lib/ctf-lib.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libctf/testsuite/lib/ctf-lib.exp b/libctf/testsuite/lib/ctf-lib.exp
index eb2b738..cfd36be 100644
--- a/libctf/testsuite/lib/ctf-lib.exp
+++ b/libctf/testsuite/lib/ctf-lib.exp
@@ -270,6 +270,11 @@ proc run_lookup_test { name } {
set results [run_host_cmd "$opts(wrapper) tmpdir/lookup" $lookup_output]
}
+ if { [regexp {^UNSUPPORTED: (.*)$} $results -> reason] } {
+ unsupported "$testname: $reason"
+ return 0
+ }
+
set f [open "tmpdir/lookup.out" "w"]
puts $f $results
close $f