gdb/testsuite: Remove duplicates from gdb.base/del.exp
authorLancelot SIX <lsix@lancelotsix.com>
Fri, 19 Nov 2021 23:55:05 +0000 (23:55 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:33 +0000 (22:43 +0000)
commitd60bbc70c0af7db13c98c6bbb358f9c989ce3476
treea40a6e377940e4e102b1898a26ef70c25a506ea4
parent7a6a9616113ff071fc4a4014dc827c33f3f22292
gdb/testsuite: Remove duplicates from gdb.base/del.exp

When running the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/del.exp ...
    DUPLICATE: gdb.base/del.exp: info break after removing break on main

Refactor slightly this test to run the various configurations under
foreach_with_prefix so each variant is automatically prefixed, ensuring
that the forgotten custom test name cannot happen.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/del.exp