gdb/testsuite: give binaries distinct names in Ada tests
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 19 Jul 2022 17:14:16 +0000 (13:14 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 22 Jul 2022 19:42:20 +0000 (15:42 -0400)
commit5ae3df226b1b1e45b9326a5eee81b92489ae52f2
tree3a381e27fcd8c27b6aeb95092c8ff43d2959b1be
parent4a570176b4031de847c2b6067798d67006c1e8f5
gdb/testsuite: give binaries distinct names in Ada tests

Some Ada tests repeat their test sequence with different gnat-encodings,
typically "all" and "minimal".  However, they give the same name to both
binaries, meaning the second run overwrites the binary of the first run.
This makes it difficult and confusing when trying to reproduce problems
manually with the test artifacts.  Change those tests to use unique
names for each pass.

Change-Id: Iaa3c9f041241249a7d67392e785c31aa189dcc88
34 files changed:
gdb/testsuite/gdb.ada/O2_float_param.exp
gdb/testsuite/gdb.ada/access_to_unbounded_array.exp
gdb/testsuite/gdb.ada/arr_enum_idx_w_gap.exp
gdb/testsuite/gdb.ada/array_of_symbolic_length.exp
gdb/testsuite/gdb.ada/array_of_variable_length.exp
gdb/testsuite/gdb.ada/array_of_variant.exp
gdb/testsuite/gdb.ada/array_ptr_renaming.exp
gdb/testsuite/gdb.ada/arrayparam.exp
gdb/testsuite/gdb.ada/arrayptr.exp
gdb/testsuite/gdb.ada/big_packed_array.exp
gdb/testsuite/gdb.ada/enum_idx_packed.exp
gdb/testsuite/gdb.ada/fixed_cmp.exp
gdb/testsuite/gdb.ada/fixed_points.exp
gdb/testsuite/gdb.ada/frame_arg_lang.exp
gdb/testsuite/gdb.ada/funcall_ref.exp
gdb/testsuite/gdb.ada/mi_string_access.exp
gdb/testsuite/gdb.ada/mi_var_array.exp
gdb/testsuite/gdb.ada/mi_var_union.exp
gdb/testsuite/gdb.ada/mi_variant.exp
gdb/testsuite/gdb.ada/mod_from_name.exp
gdb/testsuite/gdb.ada/multiarray.exp
gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp
gdb/testsuite/gdb.ada/packed_array.exp
gdb/testsuite/gdb.ada/packed_record.exp
gdb/testsuite/gdb.ada/packed_tagged.exp
gdb/testsuite/gdb.ada/pckd_arr_ren.exp
gdb/testsuite/gdb.ada/rec_ptype.exp
gdb/testsuite/gdb.ada/same_component_name.exp
gdb/testsuite/gdb.ada/set_pckd_arr_elt.exp
gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec.exp
gdb/testsuite/gdb.ada/unchecked_union.exp
gdb/testsuite/gdb.ada/var_rec_arr.exp
gdb/testsuite/gdb.ada/variant.exp
gdb/testsuite/gdb.ada/variant_record_packed_array.exp