Index: gdb/testsuite/gdb.cp/static-print-quit.exp |
diff --git a/gdb/testsuite/gdb.cp/static-print-quit.exp b/gdb/testsuite/gdb.cp/static-print-quit.exp |
index a0fd5d6ce86d9a2b0dbd4bbb997b072c0524799f..142c08c90dafc1e2c2ef1251e9d008c7660481b6 100644 |
--- a/gdb/testsuite/gdb.cp/static-print-quit.exp |
+++ b/gdb/testsuite/gdb.cp/static-print-quit.exp |
@@ -15,17 +15,14 @@ |
if { [skip_cplus_tests] } { continue } |
-set testfile static-print-quit |
-set srcfile ${testfile}.cc |
-set executable $testfile.o |
-set objfile ${objdir}/${subdir}/${executable} |
+standard_testfile .cc |
-if { [gdb_compile $srcdir/$subdir/$srcfile $objfile object {debug c++}] != ""} { |
+if { [gdb_compile $srcdir/$subdir/$srcfile $binfile.o object {debug c++}] != ""} { |
untested ${testfile}.exp |
return -1 |
} |
-clean_restart $executable |
+clean_restart $testfile.o |
gdb_test_no_output "set width 80" |
gdb_test_no_output "set height 2" |