aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-02-22 14:50:00 -0700
committerTom Tromey <tom@tromey.com>2023-03-10 08:21:46 -0700
commitb8d7ef3f67a3022c06408f730d3a15a0e6d49a01 (patch)
tree1f9ccfa66dc6293237d56b8ef04fab452ba73838 /gdb
parent450d26c851c15e08249fc0fdeb3a06b31ac4fcfd (diff)
downloadbinutils-b8d7ef3f67a3022c06408f730d3a15a0e6d49a01.zip
binutils-b8d7ef3f67a3022c06408f730d3a15a0e6d49a01.tar.gz
binutils-b8d7ef3f67a3022c06408f730d3a15a0e6d49a01.tar.bz2
Use require with gdb_skip_stdio_test
One use of gdb_skip_stdio_test can use 'require'.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.base/a2-run.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/a2-run.exp b/gdb/testsuite/gdb.base/a2-run.exp
index d5d4d9e..08f6599 100644
--- a/gdb/testsuite/gdb.base/a2-run.exp
+++ b/gdb/testsuite/gdb.base/a2-run.exp
@@ -16,9 +16,7 @@
# This file was written by Rob Savoye. (rob@cygnus.com)
# Can't do this test without stdio support.
-if [gdb_skip_stdio_test "a2run.exp"] {
- return
-}
+require {!gdb_skip_stdio_test "a2run.exp"}
#
# test running programs