public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Use require with gdb_skip_stdio_test
@ 2023-03-10 15:22 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-03-10 15:22 UTC (permalink / raw)
To: gdb-cvs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-10 15:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 15:22 [binutils-gdb] Use require with gdb_skip_stdio_test Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).