aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs/weird.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-26 17:32:44 +0000
committerTom Tromey <tromey@redhat.com>2012-06-26 17:32:44 +0000
commit481fc10041dc81c3664cfc67083504e35e31b289 (patch)
tree95967cf539e3d52927fbe2c606ffd0a2d1d75f43 /gdb/testsuite/gdb.stabs/weird.exp
parent6fea9e186c3da74c8f0ba9d007522a7575d24a73 (diff)
downloadfsf-binutils-gdb-481fc10041dc81c3664cfc67083504e35e31b289.zip
fsf-binutils-gdb-481fc10041dc81c3664cfc67083504e35e31b289.tar.gz
fsf-binutils-gdb-481fc10041dc81c3664cfc67083504e35e31b289.tar.bz2
* gdb.stabs/weird.exp: Remove directory-checking code. Use
standard_output_file. * gdb.stabs/exclfwd.exp: Use standard_testfile, prepare_for_testing. Remove directory-checking code.
Diffstat (limited to 'gdb/testsuite/gdb.stabs/weird.exp')
-rw-r--r--gdb/testsuite/gdb.stabs/weird.exp10
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp
index 6289844..78ceb68 100644
--- a/gdb/testsuite/gdb.stabs/weird.exp
+++ b/gdb/testsuite/gdb.stabs/weird.exp
@@ -17,16 +17,10 @@
# Test that GDB properly ignores invalid stabs.
# Also test that GDB can debug a .o file, and that it doesn't mind
# a file that's more minimal than what a compiler normally puts out.
-# If the test directory was not created by configure then skip
-# this test.
-if ![file isdirectory ${objdir}/${subdir}] then {
- return 0
-}
-
set testfile weird
-set srcfile ${objdir}/${subdir}/weird.s
-set binfile ${objdir}/${subdir}/weirdx.o
+set srcfile [standard_output_file weird.s]
+set binfile [standard_output_file weirdx.o]
if { [ get_compiler_info ] } {
return -1