]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
simplify report rules a bit without great effect on run time
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Sep 2006 21:03:11 +0000 (21:03 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Sep 2006 21:03:11 +0000 (21:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@13840 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile.rules

index fee37e529891c1a5c7275be9aca0543d6394d210..8d9f22cbd388892ecc2f98d4f42e41d3fbc5d68f 100644 (file)
@@ -29,11 +29,11 @@ ifeq ($(findstring gcc,$(GXX_VERSION)),gcc)
 flags += -Wno-missing-noreturn
 endif
 
-%/obj.g.$(OBJEXT) : %.cc Makefile
+%/obj.g.$(OBJEXT) : %.cc
        @echo =====debug========= $<
        @$(CXX) $(flags) -c $< -o $@
 
-%/obj.$(OBJEXT) : %.cc Makefile
+%/obj.$(OBJEXT) : %.cc
        @echo =====optimized===== $<
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
@@ -134,14 +134,13 @@ endif
 # anywhere anytime
 ############################################################
 report:
+       @-$(MAKE) -k run-tests
        @for test in $(sort $(tests)) ; do \
-             if (($(MAKE) $$test/exe 2>&1) > /dev/null); then \
-               if (($(MAKE) $$test/OK stop_on_error=on 2>&1) > /dev/null); then \
+               if $(MAKE) -q $$test/OK ; then \
                        echo `date -u +"%Y-%m-%d %H:%M"` "  +  $(WORKDIR)/$$test" ; \
                else \
                        echo `date -u +"%Y-%m-%d %H:%M"` " 0   $(WORKDIR)/$$test" ; \
                fi ; \
-             fi ; \
        done
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.