tests nightly through a cron-job with this command, to have
regular test runs.
</p>
+
+ <p>
+ To get a quick overview you can run
+ <pre>
+ make report+summary
+ </pre>
+ instead. This runs all the tests and outputs a table in the following format
+ at the end:
+ <pre>
+ Compiling Linking Running Check OK all
+ a-framework 1 1 1 1 1 5
+ base 0 0 0 2 185 187
+ lac 0 0 0 0 117 117
+ fe 0 0 0 4 114 118
+ deal.II 0 0 0 2 291 293
+ integrators 0 0 0 0 15 15
+ multigrid 0 0 0 0 35 35
+ ...
+ </pre>
+ </p>
<p>
If a test failed, you have to find out what exactly went
cd $$i ; $(MAKE) report ; cd .. ; \
done
+report+summary:
+ -@$(MAKE) -k nofail
+ @for i in $(nofail-dirs) fail all-headers ; do \
+ echo =======Report: $$i ======= ; \
+ cd $$i ; $(MAKE) report ; cd .. ; \
+ done
+ @echo " Compiling Linking Running Check OK all"
+ @for i in $(nofail-dirs) fail all-headers ; do \
+ printf "%20s\t" "$$i"; \
+ cd $$i ; $(MAKE) -s summary ; cd .. ; \
+ done
+
report+mail:
-@$(MAKE) -k nofail
@for i in $(nofail-dirs) fail all-headers ; do \
done
+status=Compiling Linking Running Checking diff all
+
+summary:
+ @for curstatus in $(status) ; do \
+ counter=0 ; \
+ all=0 ; \
+ for test in $(sort $(tests)) ; do \
+ case $$test in \
+ *ncpu_*) \
+ if test -f $$test/status ; then \
+ file=$$test/status ; \
+ else \
+ file=`echo $$test | $(PERL) -pi -e 's/ncpu_\d+//g;'`/status ; \
+ fi ; \
+ ;; \
+ *) \
+ file=$$test/status ; \
+ ;; \
+ esac ; \
+ curcount=`if test -f $$file ; then grep -c $$curstatus $$file;else echo 0;fi;`; \
+ all=$$(($$all+1));\
+ counter=$$(($$counter+$$curcount)); \
+ done; \
+ if test "$$curstatus" = "all"; then printf "%s\t" $$all; \
+ else if test "$$curstatus" = "diff"; then printf "%s\t" $$counter; \
+ else if test "$$counter" != "0"; then printf "%s\t" $$counter; \
+ else printf "%s\t" $$counter ; fi;fi;fi;\
+ done;\
+ printf "\n";
+
report+mail:
@$(MAKE) report | tee testresults
@cat testresults | $(MAIL) regression-tests@dealii.org
> $@
-.PHONY: report show-tests clean distclean %/ref
+.PHONY: report show-tests clean distclean summary %/ref
-rm -f Makefile.dep *.$(OBJEXT) \
*.g.$(OBJEXT) *.output *~ *.OK *.cc
+summary:
+ @echo "not implemented"
-.PHONY: report clean distclean all default report report+mail
+.PHONY: report clean distclean all default report report+mail summary
-rm -f Makefile.dep *.$(OBJEXT) \
*.g.$(OBJEXT) *.output *~ *.OK *.cc *.ucd *.log
+summary:
+ @printf "not implemented\n"
-.PHONY: report clean distclean all default report report+mail
+.PHONY: report clean distclean all default report report+mail summary