btrace: add unsupported/untested messages when skipping tests
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.btrace / tailcall-only.exp
index 75116c90cd1649d0b74566234925df9a9aa2b25b..c5b29a96f3562290f3a65ca44caa8f9b5951f057 100644 (file)
 # calls.  This used to cause a crash in get_frame_type.
 #
 
-# check for btrace support
-if { [skip_btrace_tests] } { return -1 }
+if { [skip_btrace_tests] } {
+    unsupported "target does not support record-btrace"
+    return -1
+}
 
 # This test requires the compiler to generate a tail call.  To guarantee that
 # we always get one, we use an assembly source file.
@@ -42,14 +44,16 @@ if [info exists COMPILE] {
                standard_testfile i686-tailcall-only.S
        }
 } else {
-    verbose "Skipping ${testfile}."
+    unsupported "target architecture not supported"
     return -1
 }
 
 if [prepare_for_testing "failed to prepare" $testfile $srcfile $opts] {
     return -1
 }
+
 if ![runto_main] {
+    untested "failed to run to main"
     return -1
 }
 
This page took 0.025374 seconds and 4 git commands to generate.