From 822bd149bfa2e13ddfddd092bfc9f2886bf878d8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 27 Jun 2013 18:53:49 +0000 Subject: test suite update - gdb.base/[n-r] Convert files gdb.base/[n-r]*.exp to use standard_output_file et al. * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp, gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp, gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp, gdb.base/pending.exp, gdb.base/permissions.exp, gdb.base/pie-execl.exp, gdb.base/pointers.exp, gdb.base/pr11022.exp, gdb.base/print-file-var.exp, gdb.base/printcmds.exp, gdb.base/prologue.exp, gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp, gdb.base/ptype.exp, gdb.base/randomize.exp, gdb.base/readline-ask.exp, gdb.base/recpar.exp, gdb.base/recurse.exp, gdb.base/relativedebug.exp, gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp, gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use standard_testfile, standard_output_file, prepare_for_testing, clean_restart. --- gdb/testsuite/gdb.base/pie-execl.exp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gdb/testsuite/gdb.base/pie-execl.exp') diff --git a/gdb/testsuite/gdb.base/pie-execl.exp b/gdb/testsuite/gdb.base/pie-execl.exp index f8e5e33..2bdccc1 100644 --- a/gdb/testsuite/gdb.base/pie-execl.exp +++ b/gdb/testsuite/gdb.base/pie-execl.exp @@ -26,12 +26,11 @@ if [is_remote target] { continue } -set testfile "pie-execl" -set srcfile ${testfile}.c +standard_testfile .c set executable1 ${testfile}1 set executable2 ${testfile}2 -set binfile1 ${objdir}/${subdir}/${executable1} -set binfile2 ${objdir}/${subdir}/${executable2} +set binfile1 ${binfile}1 +set binfile2 ${binfile}2 set binfile2_test_msg OBJDIR/${subdir}/${executable2} # Use conditional compilation according to `BIN' as GDB remembers the source -- cgit v1.1