* configure.in: added testsuite to configdirs.
authorMike Werner <mtw@cygnus>
Wed, 24 Feb 1993 03:02:37 +0000 (03:02 +0000)
committerMike Werner <mtw@cygnus>
Wed, 24 Feb 1993 03:02:37 +0000 (03:02 +0000)
* Makefile.in: added support for building testsuite.

binutils/ChangeLog
binutils/Makefile.in

index 1eaf34097fbaf27009217efd14ac1c878dea8def..fc10c45d40bbaffe2e5810c658a6bf780b93eb82 100644 (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
index 29b0cfe26e16ae583381f1c81b891cd217348183..ede3e9d3bdac341f879ca7fc2e7d39b51f7aa245 100644 (file)
@@ -144,7 +144,16 @@ OPCODES = $(OPCODEDIR)/libopcodes.a
 #\f
 ## 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 .