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

Chris Lattner lattner at cs.uiuc.edu
Sat May 10 15:41:00 PDT 2003


Changes in directory llvm/test/Programs:

Makefile.programs updated: 1.40 -> 1.41

---
Log message:

Fix handling of nondeterminisic programs so that the nightly tester doesn't
think they failed.


---
Diffs of the changes:

Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.40 llvm/test/Programs/Makefile.programs:1.41
--- llvm/test/Programs/Makefile.programs:1.40	Fri May  9 15:43:49 2003
+++ llvm/test/Programs/Makefile.programs	Sat May 10 15:40:20 2003
@@ -53,10 +53,10 @@
 #
 
 # TIMEPROG - The program used to get timing results for a program
-TIMEPROG = $(PROGDIR)/TimeProgram.sh
+TIMEPROG := $(PROGDIR)/TimeProgram.sh
 
 # DIFFPROG - The program used to diff the output
-DIFFPROG = $(PROGDIR)/DiffOutput.sh
+DIFFPROG := $(PROGDIR)/DiffOutput.sh
 
 # RUNTIMELIMIT - The number of seconds we should wait before certain events
 # timeout.  This is overridable on the commandline.
@@ -234,9 +234,8 @@
 # Rules to diff test output...
 #
 ifdef PROGRAM_IS_NONDETERMINISTIC
-# If the program is non-deterministic, just save the diff to the .diff file,
-# don't print out a bunch of stuff.
-HIDEDIFF = > /dev/null 2>&1 
+# If the program is non-deterministic, just output something to $@
+DIFFPROG = echo > $@
 endif
 
 $(PROGRAMS_TO_TEST:%=Output/%.diff-lli): \





More information about the llvm-commits mailing list