From: Tom Tromey Date: Thu, 15 Dec 2022 23:51:08 +0000 (-0700) Subject: Use require using_fission X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a231b2322f8d8f1978a2e9c8c0dea006aa578802;p=binutils-gdb.git Use require using_fission This changes some tests to use "require using_fission". --- diff --git a/gdb/testsuite/gdb.base/info-macros.exp b/gdb/testsuite/gdb.base/info-macros.exp index 803e026ae3a..38eb35f1df8 100644 --- a/gdb/testsuite/gdb.base/info-macros.exp +++ b/gdb/testsuite/gdb.base/info-macros.exp @@ -16,10 +16,7 @@ standard_testfile .c # Fission doesn't support macros yet. Bug 15954. -if [using_fission] { - untested "fission does not support macros yet" - return -1 -} +require !using_fission if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug macros}] } { return -1 diff --git a/gdb/testsuite/gdb.linespec/macro-relative.exp b/gdb/testsuite/gdb.linespec/macro-relative.exp index d0e2cdae1d8..41159431ddc 100644 --- a/gdb/testsuite/gdb.linespec/macro-relative.exp +++ b/gdb/testsuite/gdb.linespec/macro-relative.exp @@ -16,10 +16,7 @@ standard_testfile # Fission doesn't support macros yet. Bug 15954. -if [using_fission] { - unsupported "fission" - return -1 -} +require !using_fission if [is_remote host] { unsupported "compiling on a remote host does not support a filename with directory."