Index: gdb/testsuite/gdb.cp/minsym-fallback.exp |
diff --git a/gdb/testsuite/gdb.cp/minsym-fallback.exp b/gdb/testsuite/gdb.cp/minsym-fallback.exp |
index 5a2ac6d2b729931a6d4b4725ce00b2d3af30c768..6f2f50f3c428816d2e21d6231d2c8866397a836b 100644 |
--- a/gdb/testsuite/gdb.cp/minsym-fallback.exp |
+++ b/gdb/testsuite/gdb.cp/minsym-fallback.exp |
@@ -17,15 +17,13 @@ |
# only a declaration there for the method. The method is then defined in |
# a different file providing only ELF symbols. |
-set testfile minsym-fallback |
-set srcfile ${testfile}.cc |
-set srcmainfile ${testfile}-main.cc |
+standard_testfile .cc minsym-fallback-main.cc |
set executable $testfile |
-set objfile $objdir/$subdir/${testfile}.o |
-set objmainfile $objdir/$subdir/${testfile}-main.o |
-set binfile $objdir/$subdir/$executable |
+set objfile [standard_output_file ${testfile}.o] |
+set objmainfile [standard_output_file ${testfile}-main.o] |
+ |
if {[gdb_compile $srcdir/$subdir/$srcfile $objfile object {}] != "" |
- || [gdb_compile $srcdir/$subdir/$srcmainfile $objmainfile object {debug}] != "" |
+ || [gdb_compile $srcdir/$subdir/$srcfile2 $objmainfile object {debug}] != "" |
|| [gdb_compile "$objfile $objmainfile" $binfile executable {c++}] != ""} { |
untested ${testfile}.exp |
return -1 |