From: Chris Lattner Date: Fri, 28 Feb 2003 19:40:05 +0000 (+0000) Subject: Allow tests to run for 5 minutes before timing out. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9b50cbf7572829d6994aee7f4abbd56bf1a512bf;p=oota-llvm.git Allow tests to run for 5 minutes before timing out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5677 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index c90a2c2758f..12ef6ddc6bf 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -270,7 +270,7 @@ chdir "test/Programs" or die "Could not change into programs testdir!"; # Run the programs tests... creating a report.nightly.html file if (!$NOTEST) { system "gmake $MAKEOPTS report.nightly.html TEST=nightly " - . "> $Prefix-ProgramTest.txt 2>&1"; + . "RUNTIMELIMIT=300 > $Prefix-ProgramTest.txt 2>&1"; } else { system "gunzip $Prefix-ProgramTest.txt.gz"; }