summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/collection.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-02-15 18:09:20 +0000
committerPedro Alves <palves@redhat.com>2012-02-15 18:09:20 +0000
commit10010058f222196d4dbc3866f33fbaf0bb5de3e2 (patch)
tree7e8cc5705d93eefdc152bb81b068760be3473b7d /gdb/testsuite/gdb.trace/collection.exp
parentc6910659977fda1965981c33aa055e746f854039 (diff)
downloadbinutils-gdb-10010058f222196d4dbc3866f33fbaf0bb5de3e2.tar.gz
2012-02-15 Pedro Alves <palves@redhat.com>
* gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when the target doesn't support tracepoints. * gdb.trace/circ.exp: Ditto. * gdb.trace/collection.exp: Ditto. * gdb.trace/packetlen.exp: Ditto. * gdb.trace/passc-dyn.exp: Ditto. * gdb.trace/report.exp: Ditto. * gdb.trace/tfind.exp: Ditto. * gdb.trace/tspeed.exp: Ditto. * gdb.trace/tsv.exp: Ditto. * gdb.trace/unavailable.exp: Ditto. * gdb.trace/while-dyn.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.trace/collection.exp')
-rw-r--r--gdb/testsuite/gdb.trace/collection.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.trace/collection.exp b/gdb/testsuite/gdb.trace/collection.exp
index 9398248cc2b..9beb9afba2c 100644
--- a/gdb/testsuite/gdb.trace/collection.exp
+++ b/gdb/testsuite/gdb.trace/collection.exp
@@ -779,10 +779,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;
}