Index: gdb/testsuite/gdb.trace/while-dyn.exp |
diff --git a/gdb/testsuite/gdb.trace/while-dyn.exp b/gdb/testsuite/gdb.trace/while-dyn.exp |
index 547f0b8a0122498929873090782e45e76e6b37d8..7281a81f59fc85614655acdf97c8e946a2d74aa4 100644 |
--- a/gdb/testsuite/gdb.trace/while-dyn.exp |
+++ b/gdb/testsuite/gdb.trace/while-dyn.exp |
@@ -17,18 +17,12 @@ |
load_lib "trace-support.exp" |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
gdb_exit |
gdb_start |
-set testfile "actions" |
-set srcfile $testfile.c |
-set executable while-dyn |
-set binfile $objdir/$subdir/$executable |
+standard_testfile actions.c |
+set executable $testfile |
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ |
executable {debug nowarnings}] != "" } { |
untested while-dyn.exp |
@@ -40,10 +34,8 @@ gdb_test "tfind none" ".*" "" |
runto_main |
gdb_reinitialize_dir $srcdir/$subdir |
-# We generously give ourselves one "pass" if we successfully |
-# detect that this test cannot be run on this target! |
if { ![gdb_target_supports_trace] } then { |
- pass "Current target does not support trace" |
+ unsupported "Current target does not support trace" |
return 1; |
} |