[binutils-gdb] Use require with gdb_skip_stdio_test
Tom Tromey
tromey@sourceware.org
Fri Mar 10 15:22:02 GMT 2023
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b8d7ef3f67a3022c06408f730d3a15a0e6d49a01
commit b8d7ef3f67a3022c06408f730d3a15a0e6d49a01
Author: Tom Tromey <tom@tromey.com>
Date: Wed Feb 22 14:50:00 2023 -0700
Use require with gdb_skip_stdio_test
One use of gdb_skip_stdio_test can use 'require'.
Diff:
---
gdb/testsuite/gdb.base/a2-run.exp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/gdb/testsuite/gdb.base/a2-run.exp b/gdb/testsuite/gdb.base/a2-run.exp
index d5d4d9ef19e..08f6599c84a 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
More information about the Gdb-cvs
mailing list