aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc/basicclass.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-22 17:15:22 +0000
committerTom Tromey <tromey@redhat.com>2012-06-22 17:15:22 +0000
commit2c44deac314a68855b3c330e675bcd984a2dcf66 (patch)
tree501b6abd5b576ba8b47b369f2001d8b7252210fc /gdb/testsuite/gdb.objc/basicclass.exp
parent62655c7b8bfc33e6c12694f439ff8f7e8da3005a (diff)
downloadgdb-2c44deac314a68855b3c330e675bcd984a2dcf66.zip
gdb-2c44deac314a68855b3c330e675bcd984a2dcf66.tar.gz
gdb-2c44deac314a68855b3c330e675bcd984a2dcf66.tar.bz2
* 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/basicclass.exp')
-rw-r--r--gdb/testsuite/gdb.objc/basicclass.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp
index 6ebffb0..befe620 100644
--- a/gdb/testsuite/gdb.objc/basicclass.exp
+++ b/gdb/testsuite/gdb.objc/basicclass.exp
@@ -15,9 +15,7 @@
# This file was written by Adam Fedor (fedor@gnu.org)
-set testfile "basicclass"
-set srcfile ${testfile}.m
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .m
#
# Objective-C program compilation isn't standard. We need to figure out
@@ -73,7 +71,6 @@ proc deduce_language_of_main {} {
proc do_objc_tests {} {
global subdir
- global objdir
global srcdir
global binfile
global gdb_prompt