Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrite Use require _skip_ tests #42

Closed
wants to merge 51 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
3cf033d
Don't use ensure_gdb_index with require
tromey Dec 15, 2022
f3fcff8
Change 'require' to accept a list of predicates
tromey Dec 13, 2022
d907a2a
Use unsupported in 'require'
tromey Dec 13, 2022
dba5ae4
Use require supports_reverse
tromey Dec 13, 2022
7f656a3
Use require supports_process_record
tromey Dec 13, 2022
2936845
Use require dwarf2_support
tromey Dec 13, 2022
171a725
Use require is_x86_like_target
tromey Dec 13, 2022
d3493c3
Use require skip_cplus_tests
tromey Dec 13, 2022
c5fb5da
Use require skip_shlib_tests
tromey Dec 13, 2022
4bde5fb
Use require skip_dlmopen_tests
tromey Dec 13, 2022
f1a9691
Use require skip_stl_tests
tromey Dec 13, 2022
3888ca7
Use require skip_rust_tests
tromey Dec 13, 2022
cf811a7
Use require skip_fortran_tests
tromey Dec 13, 2022
6a164ca
Use require skip_ada_tests
tromey Dec 13, 2022
4b97da6
Use require skip_go_tests
tromey Dec 13, 2022
26cdb59
Use require skip_d_tests
tromey Dec 13, 2022
7325f7f
Use require skip_ctf_tests
tromey Dec 14, 2022
63970fc
Use require skip_hw_watchpoint_tests
tromey Dec 14, 2022
ce02a4a
Use require skip_ifunc_tests
tromey Dec 14, 2022
b649159
Use require skip_aarch64_sve_tests
tromey Dec 14, 2022
59126fd
Use require skip_btrace_pt_tests
tromey Dec 14, 2022
b337007
Use require skip_btrace_tests
tromey Dec 14, 2022
1faf868
Use require skip_avx_*
tromey Dec 14, 2022
75ab285
Use require support_displaced_stepping
tromey Dec 14, 2022
172e53f
Use require is_aarch64_target
tromey Dec 14, 2022
b959890
Use require is_aarch32_target
tromey Dec 14, 2022
30e2c9a
Use require is_amd64_regs_target
tromey Dec 14, 2022
bd54b94
Use require is_elf_target
tromey Dec 14, 2022
8db59b6
Use require can_single_step_to_signal_handler
tromey Dec 14, 2022
95fd80e
Use require supports_get_siginfo_type
tromey Dec 14, 2022
29c4d65
Use require support_go_compile
tromey Dec 14, 2022
31a2763
Use require use_gdb_stub
tromey Dec 14, 2022
647aeca
Use require can_spawn_for_attach
tromey Dec 14, 2022
85f2f4d
Use require isnative
tromey Dec 14, 2022
bfed510
Use require skip_gdbserver_tests
tromey Dec 14, 2022
32a927d
Use require skip_shlib_tests
tromey Dec 14, 2022
f0a8e17
Use require is_c_compiler_gcc
tromey Dec 14, 2022
d97f85a
Use require gdb_debug_enabled
tromey Dec 14, 2022
1dcb6fd
Use require gdb_skip_xml_test
tromey Dec 15, 2022
765200e
Use require gdb_trace_common_supports_arch
tromey Dec 15, 2022
1692e75
Use require skip_perf_tests
tromey Dec 15, 2022
6ec6d36
Use require skip_opencl_tests
tromey Dec 15, 2022
2114833
Use require target_can_use_run_cmd
tromey Dec 15, 2022
2fca784
Use require using_fission
tromey Dec 15, 2022
e79b3d0
Use require skip_debuginfod_tests
tromey Dec 16, 2022
1c82977
Use require gnat_runtime_has_debug_info
tromey Dec 16, 2022
357c5da
Use require mi_skip_python_tests
lienze Dec 16, 2022
471b2c1
Use require skip_inline_var_tests
lienze Dec 16, 2022
7cddc62
Use require supports_fcf_protection
lienze Dec 16, 2022
b8f9c91
Use require skip_inline_frame_tests
lienze Dec 16, 2022
36a7e92
Use require skip_libstdcxx_probe_tests
lienze Dec 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/O2_float_param.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/access_tagged_param.exp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/access_to_packed_array.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/access_to_unbounded_array.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/addr_arith.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo_na07_019

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/aliased_array.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/arr_acc_idx_w_gap.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile enum_with_gap_main

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/arr_arr.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/arr_enum_idx_w_gap.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo_q418_043

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/array_bounds.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile bar

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/array_char_idx.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/array_of_symbolic_length.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/array_of_variable_length.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/array_of_variant.exp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
load_lib "ada.exp"
load_lib "gdb-python.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile p

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/array_ptr_renaming.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/array_return.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile p

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/array_subscript_addr.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile p

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/arraydim.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/arrayidx.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile p

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/arrayparam.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/arrayptr.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/assign_1.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

gdb_exit
gdb_start
Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/assign_arr.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile main_p324_051

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/atomic_enum.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/attr_ref_and_charlit.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile "foo"

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bad-task-bp-keyword.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bias.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile bias

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/big_packed_array.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo_ra24_010

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/boolean_expr.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

gdb_exit
gdb_start
Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bp_c_mixed_case.exp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo_h731_021

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bp_enum_homonym.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile p

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bp_fun_addr.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile bp_fun_addr

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bp_inlined_func.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bp_on_var.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bp_range_type.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/bp_reset.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/byte_packed_arr.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile reprod_main

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/call_pn.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/catch_assert_if.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile bla

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/catch_ex.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
6 changes: 2 additions & 4 deletions gdb/testsuite/gdb.ada/catch_ex_std.exp
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

if {[skip_shlib_tests]} {
return 0
}
require !skip_shlib_tests

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/char_enum.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
2 changes: 1 addition & 1 deletion gdb/testsuite/gdb.ada/char_enum_overload.exp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

load_lib "ada.exp"

if { [skip_ada_tests] } { return -1 }
require !skip_ada_tests

standard_ada_testfile foo

Expand Down
Loading