* hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
[external/binutils.git] / gdb / testsuite / gdb.python / py-progspace.exp
index 1d08325..ee7ce9e 100644 (file)
 # 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
 }