[2/2] gdb/testsuite: rename test source file to match test script

Message ID cf53786dfd52ea3f372512b37f7b091f77601445.1673550414.git.aburgess@redhat.com
State New
Series Cleanup the gdb.cp/cpcompletion.exp test |

Commit Message

Andrew Burgess Jan. 12, 2023, 7:08 p.m. UTC
  The previous commit touched the source file for the test script
gdb.cp/cpcompletion.exp.  This source file is called pr9594.cc.  The
source file is only used by the one test script.

This commit renames the source file cpcompletion.cc to match the test
script, this is more inline with how we name source files these days.
 gdb/testsuite/gdb.cp/{pr9594.cc => cpcompletion.cc} | 0
 gdb/testsuite/gdb.cp/cpcompletion.exp               | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename gdb/testsuite/gdb.cp/{pr9594.cc => cpcompletion.cc} (100%)


diff --git a/gdb/testsuite/gdb.cp/pr9594.cc b/gdb/testsuite/gdb.cp/cpcompletion.cc
similarity index 100%
rename from gdb/testsuite/gdb.cp/pr9594.cc
rename to gdb/testsuite/gdb.cp/cpcompletion.cc
diff --git a/gdb/testsuite/gdb.cp/cpcompletion.exp b/gdb/testsuite/gdb.cp/cpcompletion.exp
index 371e90cca7d..a3b09239f30 100644
--- a/gdb/testsuite/gdb.cp/cpcompletion.exp
+++ b/gdb/testsuite/gdb.cp/cpcompletion.exp
@@ -53,7 +53,7 @@  proc test_class_complete {class expr name matches} {
 if { [skip_cplus_tests] } { continue }
-standard_testfile pr9594.cc
+standard_testfile .cc
 if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
     return -1