aboutsummaryrefslogtreecommitdiff
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/passc-dyn.exp
parent * python/py-symbol.c (sympy_value): Use _(). (diff)
downloadbinutils-gdb-10010058f222196d4dbc3866f33fbaf0bb5de3e2.tar.gz
binutils-gdb-10010058f222196d4dbc3866f33fbaf0bb5de3e2.tar.bz2
binutils-gdb-10010058f222196d4dbc3866f33fbaf0bb5de3e2.zip
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/passc-dyn.exp')
-rw-r--r--gdb/testsuite/gdb.trace/passc-dyn.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.trace/passc-dyn.exp b/gdb/testsuite/gdb.trace/passc-dyn.exp
index 1ec120e11f9..718a4da6bb0 100644
--- a/gdb/testsuite/gdb.trace/passc-dyn.exp
+++ b/gdb/testsuite/gdb.trace/passc-dyn.exp
@@ -34,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;
}