summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc/nondebug.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-22 17:15:20 +0000
committerTom Tromey <tromey@redhat.com>2012-06-22 17:15:20 +0000
commit2ff914f3e09bf0cbfd8168da0d1b9d0743ff391d (patch)
tree7666d6f92456ad205029981e3035d61fcc665d35 /gdb/testsuite/gdb.objc/nondebug.exp
parentbdbd9758806ed855af89244870fdc52cf3ff09bc (diff)
downloadgdb-2ff914f3e09bf0cbfd8168da0d1b9d0743ff391d.tar.gz
* gdb.objc/basicclass.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir. * gdb.objc/nondebug.exp: Use standard_testfile. (do_objc_tests): Don't declare objdir. * gdb.objc/objcdecode.exp: Use standard_testfile. (do_objc_tests): Don't declare objdir.
Diffstat (limited to 'gdb/testsuite/gdb.objc/nondebug.exp')
-rw-r--r--gdb/testsuite/gdb.objc/nondebug.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.objc/nondebug.exp b/gdb/testsuite/gdb.objc/nondebug.exp
index ea775fc79a8..bca897f7a3b 100644
--- a/gdb/testsuite/gdb.objc/nondebug.exp
+++ b/gdb/testsuite/gdb.objc/nondebug.exp
@@ -17,9 +17,7 @@
# This file was written by Adam Fedor (fedor@gnu.org)
-set testfile "nondebug"
-set srcfile ${testfile}.m
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .m
#
# Objective-C program compilation isn't standard. We need to figure out
@@ -31,7 +29,6 @@ if {[gdb_compile_objc "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [
proc do_objc_tests {} {
global subdir
- global objdir
global srcdir
global binfile
global gdb_prompt