diff options
author | Tom Tromey <tom@tromey.com> | 2022-12-15 16:09:03 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:56 -0700 |
commit | f40c0f9cab7c24ca49615ca5a6efb51b85fcc82c (patch) | |
tree | 8699aa85bef3b24a696ef367aba762253ce798f4 /gdb/testsuite/gdb.mi | |
parent | e5bf39c507a7806f0926a35a81b78b5cc5273c6a (diff) | |
download | binutils-f40c0f9cab7c24ca49615ca5a6efb51b85fcc82c.zip binutils-f40c0f9cab7c24ca49615ca5a6efb51b85fcc82c.tar.gz binutils-f40c0f9cab7c24ca49615ca5a6efb51b85fcc82c.tar.bz2 |
Use require gdb_skip_xml_test
This changes some tests to use "require gdb_skip_xml_test".
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/list-thread-groups-available.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-info-os.exp | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.mi/list-thread-groups-available.exp b/gdb/testsuite/gdb.mi/list-thread-groups-available.exp index 646d74e..1a77b96 100644 --- a/gdb/testsuite/gdb.mi/list-thread-groups-available.exp +++ b/gdb/testsuite/gdb.mi/list-thread-groups-available.exp @@ -21,10 +21,7 @@ set MIFLAGS "-i=mi" standard_testfile # Support for XML is needed to run this test. -if {[gdb_skip_xml_test]} { - unsupported "list-thread-groups-available.exp" - return -1 -} +require !gdb_skip_xml_test if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { untested "failed to compile" diff --git a/gdb/testsuite/gdb.mi/mi-info-os.exp b/gdb/testsuite/gdb.mi/mi-info-os.exp index dc70c4c..7e7db55 100644 --- a/gdb/testsuite/gdb.mi/mi-info-os.exp +++ b/gdb/testsuite/gdb.mi/mi-info-os.exp @@ -23,10 +23,7 @@ if {![istarget *-*-linux*]} { } # Support for XML-output is needed to run this test. -if {[gdb_skip_xml_test]} { - unsupported "mi-info-os.exp" - return -1 -} +require !gdb_skip_xml_test gdb_exit if [mi_gdb_start] { |