mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 03:24:41 +08:00
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.
This commit is contained in:
parent
c691065997
commit
10010058f2
@ -1,3 +1,18 @@
|
||||
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.
|
||||
|
||||
2012-02-15 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -36,10 +36,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;
|
||||
|
||||
}
|
||||
|
@ -129,10 +129,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;
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,7 @@ gdb_reinitialize_dir $srcdir/$subdir
|
||||
|
||||
# The rest of the testing needs actual tracing to work.
|
||||
if { ![gdb_target_supports_trace] } then {
|
||||
pass "Current target does not support trace"
|
||||
unsupported "Current target does not support trace"
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -586,10 +586,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;
|
||||
}
|
||||
|
||||
|
@ -36,10 +36,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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user