From: Tom Tromey Date: Wed, 14 Dec 2022 16:41:23 +0000 (-0700) Subject: Use require !skip_btrace_pt_tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ede8c648c4f4e28e02cd6b54cee0f6bd3f13e161;p=binutils-gdb.git Use require !skip_btrace_pt_tests This changes some tests to use "require !skip_btrace_pt_tests" and "require !skip_tsx_tests". --- diff --git a/gdb/testsuite/gdb.btrace/tsx.exp b/gdb/testsuite/gdb.btrace/tsx.exp index 26883f1b3de..2a8d29de8ed 100644 --- a/gdb/testsuite/gdb.btrace/tsx.exp +++ b/gdb/testsuite/gdb.btrace/tsx.exp @@ -15,15 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if { [skip_btrace_pt_tests] } { - unsupported "target does not support PT" - return -1 -} - -if { [skip_tsx_tests] } { - unsupported "target does not support TSX" - return -1 -} +require !skip_btrace_pt_tests !skip_tsx_tests standard_testfile .c x86-tsx.S if [prepare_for_testing "failed to prepare" $testfile "$srcfile $srcfile2" {debug}] {