]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Impose a CPU time limit of 30 minutes for each test run.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 May 2001 13:26:30 +0000 (13:26 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 May 2001 13:26:30 +0000 (13:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@4524 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile.rules

index 6ba78e50d57db720f5f2bbdf545a2bca4e8c0c30..4559688f77159ac2f4d82dd33aef81d697179f58 100644 (file)
@@ -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)  $@
 
 

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.