aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/circ.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/circ.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/circ.exp')
-rw-r--r--gdb/testsuite/gdb.trace/circ.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.trace/circ.exp b/gdb/testsuite/gdb.trace/circ.exp
index 4344beb..67b4389 100644
--- a/gdb/testsuite/gdb.trace/circ.exp
+++ b/gdb/testsuite/gdb.trace/circ.exp
@@ -125,11 +125,8 @@ proc trace_buffer_normal { } {
# return 0 for success, 1 for failure
proc gdb_trace_circular_tests { } {
-
- # 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;
}