diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-22 13:38:26 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-25 09:02:11 -0700 |
commit | 52c0551e9ac03a54e282f9e17d3291c1c8848a7b (patch) | |
tree | 91c2286a7bbd6c070ff6a0084f45d3782bb3119a /gdb/testsuite/gdb.base/bt-on-fatal-signal.exp | |
parent | e0a8643d2cea10858f30a8378f6cab4472dee0f9 (diff) | |
download | gdb-52c0551e9ac03a54e282f9e17d3291c1c8848a7b.zip gdb-52c0551e9ac03a54e282f9e17d3291c1c8848a7b.tar.gz gdb-52c0551e9ac03a54e282f9e17d3291c1c8848a7b.tar.bz2 |
Use require with is_remote
This changes some tests to use require with 'is_remote', rather than
an explicit test. This adds uniformity helps clean up more spots
where a test might exit early without any notification.
Diffstat (limited to 'gdb/testsuite/gdb.base/bt-on-fatal-signal.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/bt-on-fatal-signal.exp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/bt-on-fatal-signal.exp b/gdb/testsuite/gdb.base/bt-on-fatal-signal.exp index 128db75..d0364cc 100644 --- a/gdb/testsuite/gdb.base/bt-on-fatal-signal.exp +++ b/gdb/testsuite/gdb.base/bt-on-fatal-signal.exp @@ -23,10 +23,7 @@ standard_testfile # remote host (will the signal go to GDB, or the program that # established the connection to the remote host?), so just skip this # test for remote host setups. -if {[is_remote host]} { - untested $testfile - return -1 -} +require {!is_remote host} if {[prepare_for_testing "failed to prepare" $testfile $srcfile]} { return -1 |