From 307580ca7b394b3185458c35f882cb98b31a1848 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 2 May 2001 13:26:30 +0000 Subject: [PATCH] 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 --- tests/Makefile.rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) $@ -- 2.39.5