[llvm-commits] CVS: llvm/test/Programs/Makefile.programs

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 28 13:40:01 PST 2003


Changes in directory llvm/test/Programs:

Makefile.programs updated: 1.35 -> 1.36

---
Log message:

Allow the time limit to be specified on the commandline


---
Diffs of the changes:

Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.35 llvm/test/Programs/Makefile.programs:1.36
--- llvm/test/Programs/Makefile.programs:1.35	Fri Feb 14 18:31:04 2003
+++ llvm/test/Programs/Makefile.programs	Fri Feb 28 13:39:49 2003
@@ -58,11 +58,16 @@
 # DIFFPROG - The program used to diff the output
 DIFFPROG = $(PROGDIR)/DiffOutput.sh
 
+# RUNTIMELIMIT - The number of seconds we should wait before certain events
+# timeout.  This is overridable on the commandline.
+#
+RUNTIMELIMIT := 30
+
 # RUNSAFELY - This program simply runs another program.  If the program works
 # correctly, this script has no effect, otherwise it will do things like print a
 # stack trace of a core dump.  It always returns "successful" so that tests will
 # continue to be run.
-ULIMIT   := ulimit -t 30
+ULIMIT   := ulimit -t $(RUNTIMELIMIT)
 RUNSAFELY = $(ULIMIT); $(PROGDIR)/RunSafely.sh
 
 #





More information about the llvm-commits mailing list