aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/packetlen.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/packetlen.exp
parentc6910659977fda1965981c33aa055e746f854039 (diff)
downloadgdb-10010058f222196d4dbc3866f33fbaf0bb5de3e2.zip
gdb-10010058f222196d4dbc3866f33fbaf0bb5de3e2.tar.gz
gdb-10010058f222196d4dbc3866f33fbaf0bb5de3e2.tar.bz2
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/packetlen.exp')
-rw-r--r--gdb/testsuite/gdb.trace/packetlen.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.trace/packetlen.exp b/gdb/testsuite/gdb.trace/packetlen.exp
index ccc4384..4ce13e6 100644
--- a/gdb/testsuite/gdb.trace/packetlen.exp
+++ b/gdb/testsuite/gdb.trace/packetlen.exp
@@ -35,10 +35,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;
}