From: Tom Tromey Date: Wed, 22 Feb 2023 21:50:00 +0000 (-0700) Subject: Use require with gdb_skip_stdio_test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8d7ef3f67a3022c06408f730d3a15a0e6d49a01;p=binutils-gdb.git Use require with gdb_skip_stdio_test One use of gdb_skip_stdio_test can use 'require'. --- 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