Index: gdb/testsuite/gdb.python/py-progspace.exp |
diff --git a/gdb/testsuite/gdb.python/py-progspace.exp b/gdb/testsuite/gdb.python/py-progspace.exp |
index 1d08325f2b6229d6c4724674b09fe6c5fa430be7..ee7ce9e51fd48e3ca661f0a33d3716985fc6fd81 100644 |
--- a/gdb/testsuite/gdb.python/py-progspace.exp |
+++ b/gdb/testsuite/gdb.python/py-progspace.exp |
@@ -16,15 +16,9 @@ |
# This file is part of the GDB testsuite. It tests the program space |
# support in Python. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
+standard_testfile |
-set testfile "py-progspace" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
- untested "Couldn't compile ${srcfile}" |
+if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} { |
return -1 |
} |