]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: rename source file gdb.debuginfod/main.c
authorAndrew Burgess <aburgess@redhat.com>
Thu, 17 Nov 2022 11:11:13 +0000 (11:11 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 18 Nov 2022 11:21:37 +0000 (11:21 +0000)
The test gdb.debuginfod/fetch_src_and_symbols.exp uses a source file
named main.c.  I can't see any particular reason why the file is named
as such.

Usually test source files are named after the test script.

This commit just renames the source file inline with the test script,
and updates the call to standard_testfile (removing the reference to
main.c).

There's no particular reason for this change other than seeing the
file named main.c made me thing that the source file must be shared
with some other test (it isn't).

There should be no change in what is tested after this commit.

gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.c [moved from gdb/testsuite/gdb.debuginfod/main.c with 100% similarity]
gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp

index b57b3201cf741bc80db6c2c07e74ccc74993b5aa..8b3c2cf709ec3b21f86b4be0cb0f1a748e977e92 100644 (file)
@@ -15,7 +15,7 @@
 
 # Test debuginfod functionality
 
-standard_testfile main.c
+standard_testfile
 
 load_lib dwarf.exp
 load_lib debuginfod-support.exp