From: Mike Werner Date: Wed, 24 Feb 1993 03:02:37 +0000 (+0000) Subject: * configure.in: added testsuite to configdirs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f8b1219bfbeb4ec78cd2e5aea1d9555555146b9;p=binutils-gdb.git * configure.in: added testsuite to configdirs. * Makefile.in: added support for building testsuite. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1eaf34097fb..fc10c45d40b 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 29b0cfe26e1..ede3e9d3bda 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 .