Changes in directory llvm-test/SingleSource/UnitTests/SignlessTypes:
rem.c updated: 1.2 -> 1.3 --- Log message: Reduce the runtime of this test and make its seed programmable. --- Diffs of the changes: (+3 -6) rem.c | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) Index: llvm-test/SingleSource/UnitTests/SignlessTypes/rem.c diff -u llvm-test/SingleSource/UnitTests/SignlessTypes/rem.c:1.2 llvm-test/SingleSource/UnitTests/SignlessTypes/rem.c:1.3 --- llvm-test/SingleSource/UnitTests/SignlessTypes/rem.c:1.2 Fri Oct 27 10:47:18 2006 +++ llvm-test/SingleSource/UnitTests/SignlessTypes/rem.c Sat Nov 25 02:49:04 2006 @@ -89,19 +89,16 @@ } // The higher the number the better the testing. -#define ITERATIONS 10000 +#define ITERATIONS 100 int main(int argc, char **argv) { // Since the test vectors are printed out anyways, I suggest leaving // the test nondeterministic. Many people run tests on various // machines, so REM-related code will be covered with a much better // coverage... If you really don't like the idea of having better - // coverage, uncomment the srand line: + // coverage, uncomment the following line: - if (argc > 1) { - int seed = atoi(argv[1]); - srand(seed); - } + //srand(0xA392049F); unsigned idx = 0; for (; idx < ITERATIONS; ++idx) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits