Index: gdb/testsuite/gdb.cp/meth-typedefs.exp |
diff --git a/gdb/testsuite/gdb.cp/meth-typedefs.exp b/gdb/testsuite/gdb.cp/meth-typedefs.exp |
index 73ffa1b187c65e1198f5ad909a148408e783242e..b27d1248e0cdc738993a794250764e13f2112447 100644 |
--- a/gdb/testsuite/gdb.cp/meth-typedefs.exp |
+++ b/gdb/testsuite/gdb.cp/meth-typedefs.exp |
@@ -33,8 +33,7 @@ proc add {var name params expected {kind {func}}} { |
if {[skip_cplus_tests]} { continue } |
# Tests for c++/12266 et al |
-set testfile "meth-typedefs" |
-set srcfile $testfile.cc |
+standard_testfile .cc |
if {[prepare_for_testing $testfile $testfile $srcfile {c++ debug}]} { |
return -1 |