From: William D. <wdo...@us...> - 2006-09-18 15:08:51
|
Update of /cvsroot/flexml/flexml In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv12151 Modified Files: Makefile Log Message: 'make dist' should fail if any of the testbed tests fail. Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- Makefile 23 Aug 2006 16:23:59 -0000 1.42 +++ Makefile 18 Sep 2006 15:08:42 -0000 1.43 @@ -65,7 +65,7 @@ make -C examples install FLEXML_DISTDIR = $(FLEXML)-$(VER) -dist: clean +dist: test clean @echo "Building distribution..." mkdir $(FLEXML_DISTDIR) cp $(STUFF) $(DATA) $(DOCS) $(HTMLS) flexml-act-bootstrap.c \ @@ -132,7 +132,10 @@ # TESTS. clean::; make -C examples $@; make -C testbed $@ -test::; make -C examples $@; make -C testbed $@ +test::; make -C examples $@; \ + make -C testbed $@ > test.out 2>&1; ! grep '^fail' test.out && \ + echo "Tests succeeded." + # END. |