diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-03-17 09:19:50 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-03-26 14:04:17 +0000 |
commit | baecbb3dc8314d2c91bfda38eedbcc2911397424 (patch) | |
tree | 553fb3b58afc1598af7601d2ce7abec637682a94 /libctf/swap.h | |
parent | 6e8922974295dc8bee77a554783f6308adfecab5 (diff) | |
download | gdb-baecbb3dc8314d2c91bfda38eedbcc2911397424.zip gdb-baecbb3dc8314d2c91bfda38eedbcc2911397424.tar.gz gdb-baecbb3dc8314d2c91bfda38eedbcc2911397424.tar.bz2 |
gdb/testsuite: remove duplicate test from gdb.cp/maint.exp
I wanted to remove the duplicate test name from gdb.cp/maint.exp. In
this test we run some checks against different operator names. For
one operator we test with a variable number of spaces. However, we
were accidentally testing the one space version twice, and the zero
space version not at all, leading to a duplicate test name.
I could have just changed the duplicate one space version into the
missing zero space version, but I thought it would be neater to wrap
multiple tests in a loop, and check all operators with either zero,
one, or two spaces.
These tests are super quick so take almost no extra time, and this
gives marginally more test coverage.
gdb/testsuite/ChangeLog:
* gdb.cp/maint.exp (test_first_component): Run more tests with a
variable number of spaces, this removes the duplicate testing of
'operator ->' which existed before.
Diffstat (limited to 'libctf/swap.h')
0 files changed, 0 insertions, 0 deletions