* Makefile.in (check): Don't bother running any tests of
authorKen Raeburn <raeburn@cygnus>
Fri, 28 Jan 1994 18:02:43 +0000 (18:02 +0000)
committerKen Raeburn <raeburn@cygnus>
Fri, 28 Jan 1994 18:02:43 +0000 (18:02 +0000)
cross-linker until the test suite no longer assumes native mode.

ld/ChangeLog
ld/Makefile.in

index e43ab55a75b13aa46d45b338d66bfb9926f21838..83a3ea843af4f5b07f4c72eb4380e0aa7b89ff5c 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jan 28 12:58:45 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * Makefile.in (check): Don't bother running any tests of
+       cross-linker until the test suite no longer assumes native mode.
+
 Thu Jan 27 17:19:54 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
 
        * ldlang.c (print_one_symbol, print_input_section):  Print
index 7e72a672ba2100dd6bc40dcffe6855120312172c..c61bcf210bb6ee77429e421a945fa15978117bf3 100644 (file)
@@ -424,10 +424,15 @@ site.exp: ./config.status Makefile
        -@rm -f ./tmp?
 
 check: ld.new site.exp
-       $(RUNTEST) --tool ld \
-       --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
-       CC="$(RUNTEST_CC)" CFLAGS="$(RUNTEST_CFLAGS)" \
-       CXX="$(RUNTEST_CXX)" CXXFLAGS="$(RUNTEST_CXXFLAGS)"
+       @if [ $(host_canonical) = $(target_canonical) ]; then \
+               $(RUNTEST) --tool ld \
+               --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
+               CC="$(RUNTEST_CC)" CFLAGS="$(RUNTEST_CFLAGS)" \
+               CXX="$(RUNTEST_CXX)" CXXFLAGS="$(RUNTEST_CXXFLAGS)" ;\
+               if [ $$? != 0 ]; then exit 1; else true; fi ;\
+       else \
+               echo No cross-linker tests yet. ;\
+       fi
 
 installcheck:
 .PHONY: check installcheck