]> Git Repo - binutils.git/blobdiff - gdb/testsuite/gdb.dwarf2/dw2-inheritance.exp
* gdb.dwarf2/pr10770.exp: Use standard_testfile.
[binutils.git] / gdb / testsuite / gdb.dwarf2 / dw2-inheritance.exp
index 391381161563b0296dc8253747df1d1bafd5b520..aefe3f517435cd8c6cf27128d850730e905a128c 100644 (file)
@@ -22,14 +22,13 @@ if {![dwarf2_support]} {
     return 0  
 }
 
-set testfile "dw2-inheritance"
-set srcfile ${testfile}.S
-set executable ${testfile}.x
+standard_testfile .S
 
-if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objdir}/${subdir}/${executable}" object {nodebug}] != "" } {
+if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" $binfile \
+          object {nodebug}] != "" } {
     return -1
 }
 
-clean_restart $executable
+clean_restart $testfile
 
 gdb_test "ptype inherited" "type = class inherited .*"
This page took 0.026275 seconds and 4 git commands to generate.