diff options
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/ctf-constvars.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/ctf-ptype.exp | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.base/ctf-constvars.exp b/gdb/testsuite/gdb.base/ctf-constvars.exp index 3ef52b0..7737401 100644 --- a/gdb/testsuite/gdb.base/ctf-constvars.exp +++ b/gdb/testsuite/gdb.base/ctf-constvars.exp @@ -24,10 +24,7 @@ # const pointers to const vars # with mixed types. -if [skip_ctf_tests] { - unsupported "no CTF debug format support, or CTF disabled in GDB" - return 0 -} +require !skip_ctf_tests standard_testfile .c diff --git a/gdb/testsuite/gdb.base/ctf-ptype.exp b/gdb/testsuite/gdb.base/ctf-ptype.exp index 51499e3..4010cf4 100644 --- a/gdb/testsuite/gdb.base/ctf-ptype.exp +++ b/gdb/testsuite/gdb.base/ctf-ptype.exp @@ -15,10 +15,7 @@ # This file is a subset of ptype.exp written by Rob Savoye. (rob@cygnus.com) -if [skip_ctf_tests] { - unsupported "no CTF debug format support, or CTF disabled in GDB" - return 0 -} +require !skip_ctf_tests # Some tests require GCC. set gcc_compiled [is_c_compiler_gcc] |