From: wolf Date: Wed, 2 May 2001 13:26:30 +0000 (+0000) Subject: Impose a CPU time limit of 30 minutes for each test run. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=307580ca7b394b3185458c35f882cb98b31a1848;p=dealii-svn.git Impose a CPU time limit of 30 minutes for each test run. git-svn-id: https://svn.dealii.org/trunk@4524 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/Makefile.rules b/tests/Makefile.rules index 6ba78e50d5..4559688f77 100644 --- a/tests/Makefile.rules +++ b/tests/Makefile.rules @@ -39,11 +39,15 @@ flags = $(CXXFLAGS.g) $(CXXFLAGS) -Wno-missing-noreturn # Note that we normalize output to a few digits after # the decimal punct, in order to be able to check across # different platforms where we might differ in round-off etc. +# +# Since the test suite is usually run automatically, we +# impose a maximum run time of 30 CPU minutes for each +# program. ############################################################ %.output : %.exe @echo =====Running======= $< - @./$< + @ulimit -t 1800 ; ./$< @perl -pi $(normalize) $@