diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-01-28 18:02:43 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-01-28 18:02:43 +0000 |
commit | f3c6455fda4825a1212e4b808311ad9f94ad17a8 (patch) | |
tree | 3d7c192e8beee900ba778ef1eaf5ca1d23eb4adf /ld/Makefile.in | |
parent | e2f9f0f6393a7c79f3932624feab6033849a36ea (diff) | |
download | gdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.zip gdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.tar.gz gdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.tar.bz2 |
* Makefile.in (check): Don't bother running any tests of
cross-linker until the test suite no longer assumes native mode.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r-- | ld/Makefile.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in index 7e72a67..c61bcf2 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -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 |