aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorMike Werner <mtw@cygnus>1993-02-24 03:02:37 +0000
committerMike Werner <mtw@cygnus>1993-02-24 03:02:37 +0000
commit4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9 (patch)
treee7f42ba44c2a881c1eadafba7029942db98ad095 /binutils
parentb12529c1ecdbe2d577349da96385341ae047afce (diff)
downloadgdb-4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9.zip
gdb-4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9.tar.gz
gdb-4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9.tar.bz2
* configure.in: added testsuite to configdirs.
* Makefile.in: added support for building testsuite.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/Makefile.in11
2 files changed, 15 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1eaf340..fc10c45 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 29b0cfe..ede3e9d 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -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 .