]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also set the time limit as an environment variable that programs can query.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 10 Dec 2010 13:16:44 +0000 (13:16 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 10 Dec 2010 13:16:44 +0000 (13:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@22957 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile.rules

index a21b6f2bbdd8530d66b35f76964ef2cc4fd8dff1..e597c11d28031eef9cbc3635b2dbcd8ea65a6361 100644 (file)
@@ -83,7 +83,9 @@ endif
 %/output : %/exe
        @echo =====Running======= $<
        @echo Running > $(dir $@)/status
-       @$(ULIMIT) -t $(if $(ULIMIT_LIMIT),$(ULIMIT_LIMIT),300) ; ./$< ; \
+       @$(ULIMIT) -t $(if $(ULIMIT_LIMIT),$(ULIMIT_LIMIT),300) ; \
+         export WALLTIME=$(if $(ULIMIT_LIMIT),$(ULIMIT_LIMIT),300) ; \
+         ./$< ; \
          if test ! $$? = 0 ; then rm $@ ; false ; fi
        @perl -pi $(normalize)  $@
 

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.