diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/code-expr.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/code-expr.exp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.base/code-expr.exp b/gdb/testsuite/gdb.base/code-expr.exp index 529a699fd40..de2f03aa43d 100644 --- a/gdb/testsuite/gdb.base/code-expr.exp +++ b/gdb/testsuite/gdb.base/code-expr.exp @@ -22,19 +22,14 @@ # test running programs # -set testfile "cvexpr" -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} +standard_testfile cvexpr.c if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { untested code-expr.exp return -1 } -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${binfile} +clean_restart ${binfile} gdb_test_no_output "set print sevenbit-strings" gdb_test_no_output "set print address off" |