You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2007/09/10 07:32:35 UTC
svn commit: r574134 - /apr/apr/trunk/test/Makefile.in
Author: bojan
Date: Sun Sep 9 22:32:35 2007
New Revision: 574134
URL: http://svn.apache.org/viewvc?rev=574134&view=rev
Log:
Run all tests, then fail make if required
Modified:
apr/apr/trunk/test/Makefile.in
Modified: apr/apr/trunk/test/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/Makefile.in?rev=574134&r1=574133&r2=574134&view=diff
==============================================================================
--- apr/apr/trunk/test/Makefile.in (original)
+++ apr/apr/trunk/test/Makefile.in Sun Sep 9 22:32:35 2007
@@ -45,15 +45,20 @@
LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(COMPILE) @LT_NO_INSTALL@ $(ALL_LDFLAGS) -o $@
check: $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE)
+ teststatus=0; \
+ progfailed=""; \
for prog in $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE); do \
./$$prog; \
status=$$?; \
if test $$status != 0; then \
- echo "$$prog failed"; \
- break; \
+ teststatus=$$status; \
+ progfailed="$$progfailed $$prog"; \
fi; \
done; \
- exit $$status
+ if test $$teststatus != 0; then \
+ echo "Programs failed:$$progfailed"; \
+ fi; \
+ exit $$teststatus
occhild@EXEEXT@: occhild.lo $(LOCAL_LIBS)
$(LINK_PROG) occhild.lo $(LOCAL_LIBS) $(ALL_LIBS)