Index: gdb/testsuite/gdb.python/py-template.exp |
diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp |
index 5fc823434706b25f26faaad1bcdc21518b5f0ea5..5aff73df6240b04b53bb9907e4d26d567fa24c83 100644 |
--- a/gdb/testsuite/gdb.python/py-template.exp |
+++ b/gdb/testsuite/gdb.python/py-template.exp |
@@ -16,15 +16,9 @@ |
# This file is part of the GDB testsuite. It tests the mechanism |
# exposing values to Python. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
if { [skip_cplus_tests] } { continue } |
-set testfile "py-template" |
-set srcfile ${testfile}.cc |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile .cc |
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ |
{debug c++}] != "" } { |
untested "Couldn't compile ${srcfile}" |