Index: gdb/testsuite/gdb.trace/passc-dyn.exp |
diff --git a/gdb/testsuite/gdb.trace/passc-dyn.exp b/gdb/testsuite/gdb.trace/passc-dyn.exp |
index b8d3a14e61198798c71dc786af258b4e16c32c06..0e6465b2ec3fb75870be1999deeae68105de05a1 100644 |
--- a/gdb/testsuite/gdb.trace/passc-dyn.exp |
+++ b/gdb/testsuite/gdb.trace/passc-dyn.exp |
@@ -17,16 +17,10 @@ |
load_lib "trace-support.exp"; |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
gdb_exit |
gdb_start |
-set testfile "actions" |
-set srcfile ${testfile}.c |
-set binfile $objdir/$subdir/passc-dyn |
+standard_testfile actions.c |
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ |
executable {debug nowarnings}] != "" } { |
untested passc-dyn.exp |
@@ -38,10 +32,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; |
} |