This changes some tests to use "require is_elf_target".
# or for non-ELF targets. (We're not really testing or building
# shared libraries here, but having a RTLD implies having shared
# libraries on the target.)
-if { [skip_shlib_tests] || ![is_elf_target] } {
- return 0
-}
+require !skip_shlib_tests is_elf_target
# (Pretend) RTLD file names and flags:
set rtld_basename ${::gdb_test_file_name}-rtld
# 13) Check that the execution can continue without error.
# 14) Regression test for a stale breakpoints bug.
-if {![is_elf_target]} {
- return 0
-}
+require is_elf_target
require !skip_shlib_tests