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

Andrew Burgess aburgess@sourceware.org
Wed Jan 25 10:13:07 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=db8861ec34ad89f2c54ae8d51b353f0fedac3a3f

commit db8861ec34ad89f2c54ae8d51b353f0fedac3a3f
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Thu Jan 12 13:24:40 2023 +0000

    gdb/testsuite: rename test source file to match test script
    
    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 to cpcompletion.cc to match the
    test script, this is more inline with how we name source files these
    days.

Diff:
---
 gdb/testsuite/gdb.cp/{pr9594.cc => cpcompletion.cc} | 0
 gdb/testsuite/gdb.cp/cpcompletion.exp               | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

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 d69aac6f79f..8c5c90b9357 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} {
 
 require allow_cplus_tests
 
-standard_testfile pr9594.cc
+standard_testfile .cc
 
 if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
     return -1


More information about the Gdb-cvs mailing list