Index: gdb/testsuite/gdb.cp/pr10687.exp |
diff --git a/gdb/testsuite/gdb.cp/pr10687.exp b/gdb/testsuite/gdb.cp/pr10687.exp |
index f7e60889c2a81069cadd5f99dd15b389f9b3b891..318477ec6375ae82a1f8770e6f75094bdaf6be25 100644 |
--- a/gdb/testsuite/gdb.cp/pr10687.exp |
+++ b/gdb/testsuite/gdb.cp/pr10687.exp |
@@ -13,9 +13,9 @@ |
# You should have received a copy of the GNU General Public License |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
-set testfile pr10687 |
-set srcfile ${testfile}.cc |
-if [prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}] { |
+standard_testfile .cc |
+ |
+if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { |
return -1 |
} |