[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/SignlessTypes/Makefile

Reid Spencer reid at x10sys.com
Fri Oct 27 09:38:06 PDT 2006



Changes in directory llvm-test/SingleSource/UnitTests/SignlessTypes:

Makefile updated: 1.3 -> 1.4
---
Log message:

1. Add some comments about the seed values for the random number generate
2. Make the seed a constant value for reliable results.


---
Diffs of the changes:  (+9 -1)

 Makefile |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)


Index: llvm-test/SingleSource/UnitTests/SignlessTypes/Makefile
diff -u llvm-test/SingleSource/UnitTests/SignlessTypes/Makefile:1.3 llvm-test/SingleSource/UnitTests/SignlessTypes/Makefile:1.4
--- llvm-test/SingleSource/UnitTests/SignlessTypes/Makefile:1.3	Fri Oct 27 10:45:24 2006
+++ llvm-test/SingleSource/UnitTests/SignlessTypes/Makefile	Fri Oct 27 11:37:45 2006
@@ -1,6 +1,14 @@
 # SingleSource/UnitTests/Vector/Makefile
 LEVEL = ../../..
+
+# You can use this seed value to get a different test
+# each day, but don't forget to 'make clean' To use it,
+# change RUN_OPTIONS (below) to be $(SEED)
 SEED := $(shell date +%j)
-RUN_OPTIONS := $(SEED)
+
+# Use a consistent seed value for the tests so they produce
+# the same results regardless of whether you make clean or not.
+RUN_OPTIONS := 31415926
+
 include $(LEVEL)/Makefile.config
 include $(LEVEL)/SingleSource/Makefile.singlesrc






More information about the llvm-commits mailing list