Allow tests to run for 5 minutes before timing out.
authorChris Lattner <sabre@nondot.org>
Fri, 28 Feb 2003 19:40:05 +0000 (19:40 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 28 Feb 2003 19:40:05 +0000 (19:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5677 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NightlyTest.pl

index c90a2c2758f6fa72a6a6646cfcc29bd1afbe146a..12ef6ddc6bf05c8cd481729c75eb3adb4ba61c2b 100755 (executable)
@@ -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";
 }