aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-empic
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-07-24 19:36:57 +0000
committerIan Lance Taylor <ian@airs.com>1995-07-24 19:36:57 +0000
commit86c2d1a39eae1a3145436c7fbbcfefdd253e2c4d (patch)
tree2aea8fe2b86a86b4614694f6c4d8481554eb3abe /ld/testsuite/ld-empic
parent59a0866d8c8afb3d6558556657d67dc42bacecf4 (diff)
downloadgdb-86c2d1a39eae1a3145436c7fbbcfefdd253e2c4d.zip
gdb-86c2d1a39eae1a3145436c7fbbcfefdd253e2c4d.tar.gz
gdb-86c2d1a39eae1a3145436c7fbbcfefdd253e2c4d.tar.bz2
* ld-empic/empic.exp: If $CC does not exist, call untested rather
than unresolved.
Diffstat (limited to 'ld/testsuite/ld-empic')
-rw-r--r--ld/testsuite/ld-empic/empic.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-empic/empic.exp b/ld/testsuite/ld-empic/empic.exp
index 5039efe..e845822 100644
--- a/ld/testsuite/ld-empic/empic.exp
+++ b/ld/testsuite/ld-empic/empic.exp
@@ -29,6 +29,11 @@ if ![istarget mips*-*-ecoff*] {
set testname relax
+if { [which $CC] == 0 } {
+ untested $testname
+ return
+}
+
# Test that relaxation works correctly. This testsuite was composed
# (by experimentation) to force the linker to relax twice--that is,
# the first relaxation pass will force another call to be out of