aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.linespec/linespec.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-25 20:31:21 +0000
committerTom Tromey <tromey@redhat.com>2012-06-25 20:31:21 +0000
commitf91e3dc1b63cb8ac775de13783454ae8a915d704 (patch)
tree94858af1a41eddfbecadd44c2f7486f0fa795d59 /gdb/testsuite/gdb.linespec/linespec.exp
parenta884434d1976a833c15c08bb82fd29def21333ee (diff)
downloadgdb-f91e3dc1b63cb8ac775de13783454ae8a915d704.zip
gdb-f91e3dc1b63cb8ac775de13783454ae8a915d704.tar.gz
gdb-f91e3dc1b63cb8ac775de13783454ae8a915d704.tar.bz2
* gdb.linespec/ls-errs.exp: Use standard_testfile.
* gdb.linespec/ls-dollar.exp: Use standard_testfile. * gdb.linespec/linespec.exp: Use standard_testfile.
Diffstat (limited to 'gdb/testsuite/gdb.linespec/linespec.exp')
-rw-r--r--gdb/testsuite/gdb.linespec/linespec.exp7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.linespec/linespec.exp b/gdb/testsuite/gdb.linespec/linespec.exp
index 92be31c..3698ea2 100644
--- a/gdb/testsuite/gdb.linespec/linespec.exp
+++ b/gdb/testsuite/gdb.linespec/linespec.exp
@@ -15,10 +15,9 @@
# Tests of ambiguous linespecs.
-set testfile linespec
+standard_testfile lspec.cc
-set exefile lspec
-set binfile ${objdir}/${subdir}/${exefile}
+set exefile $testfile
set baseone base/one/thefile.cc
set basetwo base/two/thefile.cc
@@ -29,7 +28,7 @@ if {[skip_cplus_tests]} {
}
if {[prepare_for_testing ${testfile}.exp $exefile \
- [list lspec.cc $baseone $basetwo] \
+ [list $srcfile $baseone $basetwo] \
{debug nowarnings c++}]} {
return -1
}