Message ID | 20230224-submit-require-fixes-v1-2-7cbcbbf613c9@tromey.com |
---|---|
State | New |
Headers | |
Series | More uses of require | |
Commit Message
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