]> Git Repo - binutils.git/blobdiff - gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.exp
* gdb.dwarf2/pr10770.exp: Use standard_testfile.
[binutils.git] / gdb / testsuite / gdb.dwarf2 / dw2-op-stack-value.exp
index f731d7ba8e01b1c6c053dcdf703dac49370d8545..125b2af98d47fe8dbfb5823eca7730a34e434239 100644 (file)
@@ -19,15 +19,14 @@ if {![dwarf2_support]} {
     return 0   
 }
 
-set testfile "dw2-op-stack-value"
-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 "p/x stack2" " = 0x1"
 gdb_test "p/x stack8" " = 0x1"
This page took 0.029665 seconds and 4 git commands to generate.