]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
run unit tests even if system tests fail. Report if either set of tests fail
authorMark Andrews <marka@isc.org>
Tue, 6 Sep 2011 03:59:58 +0000 (03:59 +0000)
committerMark Andrews <marka@isc.org>
Tue, 6 Sep 2011 03:59:58 +0000 (03:59 +0000)
Makefile.in

index a895567c18303cd38db49150be876aceb8aec3a9..bc5f6e794599dc6732e1c99f22d1ec637b8cb6d8 100644 (file)
@@ -13,7 +13,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.60 2011/03/01 23:48:05 tbox Exp $
+# $Id: Makefile.in,v 1.61 2011/09/06 03:59:58 marka Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -64,8 +64,10 @@ tags:
 check: test
 
 test:
-       (cd bin/tests && ${MAKE} ${MAKEDEFS} test)
-       (test -f unit/unittest.sh && $(SHELL) unit/unittest.sh)
+       status=0; \
+       (cd bin/tests && ${MAKE} ${MAKEDEFS} test) || status=1; \
+       (test -f unit/unittest.sh && $(SHELL) unit/unittest.sh) || status=1; \
+       exit $status
 
 FAQ: FAQ.xml
        ${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \