From 0edfcbab923a3c2161699318fdedf3f0e466c87a Mon Sep 17 00:00:00 2001 From: maier Date: Sat, 23 Mar 2013 23:57:16 +0000 Subject: [PATCH] Run some selected tests in the build_tests git-svn-id: https://svn.dealii.org/trunk@28998 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/contrib/utilities/build_test | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/deal.II/contrib/utilities/build_test b/deal.II/contrib/utilities/build_test index bd469e0a3b..10f31c5bb4 100755 --- a/deal.II/contrib/utilities/build_test +++ b/deal.II/contrib/utilities/build_test @@ -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) -- 2.39.5