mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
Use "maint ignore-probes" in no-libstdcxx-probe.exp
While looking at some test output, I saw that no-libstdcxx-probe.exp was not being run. However, it occurred to me that Tom de Vries' new "maint ignore-probes" command could be used to enable this test unconditionally. Reviewed-by: Tom de Vries <tdevries@suse.de>
This commit is contained in:
parent
1bb82b89ae
commit
3db27e74ee
@ -21,12 +21,11 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
|
||||
return -1
|
||||
}
|
||||
|
||||
if {![runto_main]} {
|
||||
return -1
|
||||
}
|
||||
# This tests that $_exception gives an error when the systemtap probes
|
||||
# are not available, so simulate this by disabling them.
|
||||
gdb_test "maint ignore-probes libstdcxx .*" ".*OBJNAME: ''"
|
||||
|
||||
if { [skip_libstdcxx_probe_tests] == 0 } {
|
||||
untested "Have libstdc++ stap probe"
|
||||
if {![runto_main]} {
|
||||
return -1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user