]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Run some selected tests in the build_tests
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Mar 2013 23:57:16 +0000 (23:57 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Mar 2013 23:57:16 +0000 (23:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@28998 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/utilities/build_test

index bd469e0a3bffa5c2d6d5ac528bba1bbf5dcf55e5..10f31c5bb408d63e3ba05102d6f37a845cdc6e34 100755 (executable)
@@ -72,9 +72,9 @@ main:
        @echo "BEGIN BUILD EXAMPLES OUTPUT `date -u '+%Y-%m-%d %T'`" | tee -a $(LOGFILE)
        cd $(installdir)/examples && make -f $(SOURCEDIR)/contrib/utilities/build_test DEAL_II_DIR=$(installdir) build_examples $(PIPEnTRAP)
        @echo "END BUILD EXAMPLES OUTPUT `date -u '+%Y-%m-%d %T'`" | tee -a $(LOGFILE)
-       #@echo "BEGIN RUN EXAMPLES OUTPUT `date -u '+%Y-%m-%d %T'`" | tee -a $(LOGFILE)
-       #cd $(installdir)/examples && make -f $(SOURCEDIR)/contrib/utilities/build_test run_examples $(PIPEnTRAP)
-       #@echo "END RUN EXAMPLES OUTPUT `date -u '+%Y-%m-%d %T'`" | tee -a $(LOGFILE)
+       @echo "BEGIN RUN EXAMPLES OUTPUT `date -u '+%Y-%m-%d %T'`" | tee -a $(LOGFILE)
+       cd $(installdir)/examples && make -f $(SOURCEDIR)/contrib/utilities/build_test run_examples $(PIPEnTRAP)
+       @echo "END RUN EXAMPLES OUTPUT `date -u '+%Y-%m-%d %T'`" | tee -a $(LOGFILE)
        @echo "BUILD TEST SUCCESSFUL `date -u '+%Y-%m-%d %T'`" | tee -a $(LOGFILE)
        if ${CLEAN_TMPDIR}; then rm -rf $(testdir); fi
 
@@ -85,16 +85,19 @@ main:
 
 steps:= $(wildcard step-*)
 
+runsteps:= step-1 step-2 step-3
+
+
 %/%:
        -cd $(@D) && cmake . >/dev/null 2>&1
        cd $(@D) && if [ -f Makefile ]; then make; fi
 
 %/OK: %/%
-       cd $(@D) && if [ -f Makefile ]; then make run; fi && touch OK
+       cd $(@D) && make run && touch OK
 
 .PHONY: build_examples
 build_examples: $(steps:%=%/%)
 
 .PHONY: run_examples
-run_examples: $(steps:%=%/OK)
+run_examples: $(runsteps:%=%/OK)
 

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.