]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: spring clean the gdb.stabs/gdb11479.exp test
authorAndrew Burgess <aburgess@redhat.com>
Tue, 29 Oct 2024 14:59:23 +0000 (14:59 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 4 Nov 2024 15:51:40 +0000 (15:51 +0000)
commit91f8973ba3dff221eb4a3cd2695f3348260972f5
tree042ad46506beba8d8c56b559729a6e05a9f0aa8d
parent9247f052848f3961402754ebfbc1bc28cf0857a5
gdb/testsuite: spring clean the gdb.stabs/gdb11479.exp test

I had reason to look at the gdb.stabs/gdb11479.exp test script and
figured it could do with a small clean up.  I've:

  - Made use of standard_testfile and the variables it defines.

  - Made use of with_test_prefix and removed the prefix from the end
    of each test name.

  - Avoid overwriting the test binary when we recompile, instead use a
    different name for each recompilation.

  - Add '.' at the end of each comment.

There should be no changes in what is tested with this commit.

Reviewed-By: Keith Seitz <keiths@redhat.com>
gdb/testsuite/gdb.stabs/gdb11479.exp