aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-template.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-22 17:59:33 +0000
committerTom Tromey <tromey@redhat.com>2012-06-22 17:59:33 +0000
commitb4a58790dbc901ffa61059886667b31ed34d0148 (patch)
tree24033c3ef8b100182056a67499d08a1dcb715165 /gdb/testsuite/gdb.python/py-template.exp
parent2c44deac314a68855b3c330e675bcd984a2dcf66 (diff)
downloadgdb-b4a58790dbc901ffa61059886667b31ed34d0148.zip
gdb-b4a58790dbc901ffa61059886667b31ed34d0148.tar.gz
gdb-b4a58790dbc901ffa61059886667b31ed34d0148.tar.bz2
* gdb.python/lib-types.exp: Use standard_testfile,
prepare_for_testing. * gdb.python/py-block.exp: Use standard_testfile. * gdb.python/py-breakpoint.exp: Use standard_testfile. * gdb.python/py-events.exp: Use standard_testfile, standard_output_file. * gdb.python/py-evsignal.exp: Use standard_testfile. * gdb.python/py-evethreads.exp: Use standard_testfile. * gdb.python/py-explore-cc.exp: Use standard_testfile. * gdb.python/py-explore.exp: Use standard_testfile. * gdb.python/py-finish-breakpoint.exp: Use standard_testfile, standard_output_file. * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile, prepare_for_testing. * gdb.python/py-frame-inline.exp: Use standard_testfile. * gdb.python/py-frame.exp: Use standard_testfile. * gdb.python/py-inferior.exp: Use standard_testfile. * gdb.python/py-infthread.exp: Use standard_testfile. * gdb.python/py-mi.exp: Use standard_testfile. * gdb.python/py-objfile-script.exp: Use standard_testfile, build_executable. * gdb.python/py-objfile.exp: Use standard_testfile. * gdb.python/py-pp-maint.exp: Use standard_testfile, prepare_for_testing. * gdb.python/py-prettyprint.exp: Use standard_testfile. * gdb.python/py-progspace.exp: Use standard_testfile, build_executable. * gdb.python/py-prompt.exp: Use standard_testfile, build_executable. * gdb.python/py-section-script.exp: Use standard_testfile, build_executable. * gdb.python/py-shared.exp: Use standard_testfile, standard_output_file, clean_restart. * gdb.python/py-symbol.exp: Use standard_output_file, prepare_for_testing. * gdb.python/py-symtab.exp: Use standard_output_file, prepare_for_testing * gdb.python/py-template.exp: Use standard_testfile. * gdb.python/py-type.exp: Use standard_testfile. * gdb.python/py-value-cc.exp: Use standard_testfile. * gdb.python/py-value.exp: Use standard_testfile. * gdb.python/python.exp: Use standard_testfile, build_executable.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-template.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-template.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp
index 8805611..5aff73d 100644
--- a/gdb/testsuite/gdb.python/py-template.exp
+++ b/gdb/testsuite/gdb.python/py-template.exp
@@ -18,9 +18,7 @@
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}"