* configure.in: added testsuite to configdirs.

* Makefile.in: added support for building testsuite.
This commit is contained in:
Mike Werner 1993-02-24 03:02:37 +00:00
parent b12529c1ec
commit 4f8b1219bf
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Feb 23 19:00:50 1993 Mike Werner (mtw@poseidon.cygnus.com)
* configure.in: added testsuite to configdirs.
* Makefile.in: added support for building testsuite.
Mon Feb 22 22:52:10 1993 Per Bothner (bothner@rtl.cygnus.com)
* objdump.c (disassemble_data): Print function names when

View file

@ -144,7 +144,16 @@ OPCODES = $(OPCODEDIR)/libopcodes.a
#
## The rules
all: $(ADDL_LIBS) $(PROGS)
all: $(ADDL_LIBS) $(PROGS) testsuite
testsuite:
echo "testsuite"; \
if [ -d testsuite ]; then \
(rootme=`pwd`/ ; export rootme ; \
rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
cd testsuite; $(MAKE) $(FLAGS_TO_PASS)); \
fi; \
check: all
/bin/sh $(srcdir)/sanity.sh .