Use require using_fission
authorTom Tromey <tom@tromey.com>
Thu, 15 Dec 2022 23:51:08 +0000 (16:51 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 13 Jan 2023 20:18:56 +0000 (13:18 -0700)
This changes some tests to use "require using_fission".

gdb/testsuite/gdb.base/info-macros.exp
gdb/testsuite/gdb.linespec/macro-relative.exp

index 803e026ae3a99b933c0b04e216e85d284ede5ef8..38eb35f1df8710049c61ea1e3882a8b034b8d9c5 100644 (file)
 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
index d0e2cdae1d8bc0b7d30aa7578eee249830d2c84e..41159431ddc7e0f903fc2516d89b757844df44c8 100644 (file)
 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."