Use require supports_get_siginfo_type

This changes some tests to use "require supports_get_siginfo_type".
This commit is contained in:
Tom Tromey
2022-12-14 09:52:45 -07:00
parent b7e1107003
commit 5f3ef82813
3 changed files with 3 additions and 12 deletions

View File

@@ -30,10 +30,7 @@ if [target_info exists gdb,nosignals] {
return -1
}
if { ![supports_get_siginfo_type] } {
verbose "Skipping catch-signal-siginfo-cond.exp because of lack of support."
return -1
}
require supports_get_siginfo_type
standard_testfile

View File

@@ -26,10 +26,7 @@ if [target_info exists gdb,nosignals] {
return
}
if { ![supports_get_siginfo_type] } {
verbose "Skipping siginfo-obj.exp because of lack of support."
return
}
require supports_get_siginfo_type
standard_testfile

View File

@@ -21,10 +21,7 @@ if [target_info exists gdb,nosignals] {
return
}
if { ![supports_get_siginfo_type] } {
verbose "Skipping siginfo-thread.exp because of lack of support."
return
}
require supports_get_siginfo_type
standard_testfile .c