aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld.cdtest/cdtest.exp
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-28 16:21:32 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-28 16:21:32 +0000
commitf81eadb499e778fc75fc0178ce226dc142f81e6b (patch)
tree280ed7467e5e91977f387bdc5d7623a1e7ee9488 /ld/testsuite/ld.cdtest/cdtest.exp
parent7b777690a85302ca41b6c61d16516c75e12deb26 (diff)
downloadgdb-f81eadb499e778fc75fc0178ce226dc142f81e6b.zip
gdb-f81eadb499e778fc75fc0178ce226dc142f81e6b.tar.gz
gdb-f81eadb499e778fc75fc0178ce226dc142f81e6b.tar.bz2
* config/default.exp: Set variables as and nm. Create tmpdir if
it does not already exist. * ld.bootstrap/bootstrap.exp: Don't create tmpdir here. * ld.cdtest/cdtest.exp: Likewise. * ld.scripts/defined.exp: Likewise. Also, don't set as and nm here. Change perror for no variables found to fail. * ld.scripts/script.exp: New test. * ld.scripts/script.t, ld.scripts/script.s: New files.
Diffstat (limited to 'ld/testsuite/ld.cdtest/cdtest.exp')
-rw-r--r--ld/testsuite/ld.cdtest/cdtest.exp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ld/testsuite/ld.cdtest/cdtest.exp b/ld/testsuite/ld.cdtest/cdtest.exp
index e605c61..bc390f2 100644
--- a/ld/testsuite/ld.cdtest/cdtest.exp
+++ b/ld/testsuite/ld.cdtest/cdtest.exp
@@ -24,8 +24,6 @@
# This test requires running the executable generated by ld.
if ![isnative] {return}
-if ![file isdirectory tmpdir] {catch "exec mkdir tmpdir" status}
-
if ![ld_compile "$CXX $CXXFLAGS -fgnu-linker" $srcdir$subdir/cdtest-foo.cc tmpdir/cdtest-foo.o] {
return
}