mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
Use require !skip_shlib_tests
This changes some tests to use "require !skip_shlib_tests". This patch cleans up a few spots that were missed in the earlier patch.
This commit is contained in:
@ -14,8 +14,8 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# This test only works on GNU/Linux.
|
# This test only works on GNU/Linux.
|
||||||
require !use_gdb_stub isnative
|
require !use_gdb_stub isnative !skip_shlib_tests
|
||||||
if { [is_remote host] || ![istarget *-linux*] || [skip_shlib_tests]} {
|
if { [is_remote host] || ![istarget *-linux*] } {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# This test only works on GNU/Linux.
|
# This test only works on GNU/Linux.
|
||||||
require !use_gdb_stub isnative
|
require !use_gdb_stub isnative !skip_shlib_tests
|
||||||
if { [is_remote host] || ![istarget *-linux*] || [skip_shlib_tests]} {
|
if { [is_remote host] || ![istarget *-linux*] } {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
# 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 { [skip_shlib_tests] || [is_remote target] } {
|
require !skip_shlib_tests
|
||||||
|
if { [is_remote target] } {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
# This file was written by Alexandre Oliva <aoliva@redhat.com>
|
# This file was written by Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
|
||||||
require isnative
|
require isnative !skip_shlib_tests
|
||||||
if { [is_remote host] || [skip_shlib_tests]} {
|
if { [is_remote host] } {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# This only works on GNU/Linux.
|
# This only works on GNU/Linux.
|
||||||
require isnative
|
require isnative !skip_shlib_tests
|
||||||
if { [is_remote host] || ![istarget *-linux*] || [skip_shlib_tests]} {
|
if { [is_remote host] || ![istarget *-linux*] } {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,8 @@
|
|||||||
# Test solib-search-path, and in the case of solib-svr4.c whether l_addr_p
|
# Test solib-search-path, and in the case of solib-svr4.c whether l_addr_p
|
||||||
# is properly reset when the path is changed.
|
# is properly reset when the path is changed.
|
||||||
|
|
||||||
if {[is_remote target] || [skip_shlib_tests]} {
|
require !skip_shlib_tests
|
||||||
|
if {[is_remote target]} {
|
||||||
untested "skipping remote target and shared library tests"
|
untested "skipping remote target and shared library tests"
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user