Index: gdb/testsuite/gdb.trace/tspeed.exp |
diff --git a/gdb/testsuite/gdb.trace/tspeed.exp b/gdb/testsuite/gdb.trace/tspeed.exp |
index 0becf18859a0749df33b1a5077dd775c8de4cd87..653b119c72c7f413159dfcde09d617dc5d9512d3 100644 |
--- a/gdb/testsuite/gdb.trace/tspeed.exp |
+++ b/gdb/testsuite/gdb.trace/tspeed.exp |
@@ -15,12 +15,10 @@ |
load_lib "trace-support.exp" |
-set testfile "tspeed" |
-set srcfile ${testfile}.c |
+standard_testfile |
set executable $testfile |
-set binfile $objdir/$subdir/$executable |
-set ipalib $objdir/../gdbserver/libinproctrace.so |
+set ipalib [get_in_proc_agent] |
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ |
executable [concat {debug nowarnings c} libs=$ipalib]] != "" } { |
@@ -129,10 +127,8 @@ proc gdb_trace_collection_test {} { |
clean_restart $executable |
runto_main |
-# 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; |
} |