diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-01-19 21:15:41 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-01-22 14:54:38 -0500 |
commit | 3a49585ad58fb11ec4e9a1d6adaaca47ddd84cd5 (patch) | |
tree | 147b0fdfc1073f2c5f749753fc55d948e45a5a05 /gdbsupport/common-utils.cc | |
parent | c37ad9ea1618969273b3a3b75278b0e96bb63a78 (diff) | |
download | gdb-3a49585ad58fb11ec4e9a1d6adaaca47ddd84cd5.zip gdb-3a49585ad58fb11ec4e9a1d6adaaca47ddd84cd5.tar.gz gdb-3a49585ad58fb11ec4e9a1d6adaaca47ddd84cd5.tar.bz2 |
gdb/testsuite: avoid duplicate test names in gdb.dwarf2/dw2-zero-range.exp (and more)
Tom Tromey noticed that dw2-zero-range.exp reported a duplicate test
name. This happens because have_index calls get_index_type with the
default test name. Refactor the test to avoid this, while cleaning a
few other things, the most important being:
- factor out the relocated and unrelocated parts in their own procs
- give different names to generated binaries in different variations,
such that all binaries are left in the test output directory (this
makes it easier to debug a specific variation)
Change-Id: I7cdf7a344834852fbb035d7e0434559eab6b1e94
Diffstat (limited to 'gdbsupport/common-utils.cc')
0 files changed, 0 insertions, 0 deletions