mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Use require gdb_skip_xml_test
This changes some tests to use "require gdb_skip_xml_test".
This commit is contained in:
@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "arc-tdesc-cpu.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
|
@ -22,10 +22,7 @@ if {![istarget *-*-linux*]} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Support for XML-output is needed to run this test.
|
# Support for XML-output is needed to run this test.
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "info-os.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
# Compile test program.
|
# Compile test program.
|
||||||
if { [prepare_for_testing "failed to prepare" $testfile $srcfile {debug pthreads}] } {
|
if { [prepare_for_testing "failed to prepare" $testfile $srcfile {debug pthreads}] } {
|
||||||
|
@ -21,10 +21,7 @@ set MIFLAGS "-i=mi"
|
|||||||
standard_testfile
|
standard_testfile
|
||||||
|
|
||||||
# Support for XML is needed to run this test.
|
# Support for XML is needed to run this test.
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "list-thread-groups-available.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
|
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
|
||||||
untested "failed to compile"
|
untested "failed to compile"
|
||||||
|
@ -23,10 +23,7 @@ if {![istarget *-*-linux*]} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Support for XML-output is needed to run this test.
|
# Support for XML-output is needed to run this test.
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "mi-info-os.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_exit
|
gdb_exit
|
||||||
if [mi_gdb_start] {
|
if [mi_gdb_start] {
|
||||||
|
@ -37,10 +37,7 @@
|
|||||||
#
|
#
|
||||||
# 4. Indentation of lines will be preserved so your input file needs
|
# 4. Indentation of lines will be preserved so your input file needs
|
||||||
# to follow the expected indentation.
|
# to follow the expected indentation.
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "xml tests not being run"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
|
@ -17,10 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "maint_print_struct.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
|
@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "tdesc-arch.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
|
@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "tdesc-errors.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
|
@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "tdesc-regs.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
|
@ -16,10 +16,7 @@
|
|||||||
# Testing for 'maint print xml-tdesc'. Check we can print out the
|
# Testing for 'maint print xml-tdesc'. Check we can print out the
|
||||||
# current target description and load it back in again.
|
# current target description and load it back in again.
|
||||||
|
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "xml tests not being run"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile
|
standard_testfile
|
||||||
|
|
||||||
|
@ -13,10 +13,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if {[gdb_skip_xml_test]} {
|
require !gdb_skip_xml_test
|
||||||
unsupported "tdesc-errors.exp"
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user