From c87070e923a45375315ac6df2190ecc60bcf35dd Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 10 Dec 2010 13:16:44 +0000 Subject: [PATCH] Also set the time limit as an environment variable that programs can query. git-svn-id: https://svn.dealii.org/trunk@22957 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/Makefile.rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.rules b/tests/Makefile.rules index a21b6f2bbd..e597c11d28 100644 --- a/tests/Makefile.rules +++ b/tests/Makefile.rules @@ -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) $@ -- 2.39.5