From ae79b13a0708c245fbd08f8672ef401bbae1c1bc Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 16 Mar 2011 23:42:57 +0000 Subject: [PATCH] made test more robust --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404171 --- dlib/test/empirical_kernel_map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlib/test/empirical_kernel_map.cpp b/dlib/test/empirical_kernel_map.cpp index 2e1743641..8633003e7 100644 --- a/dlib/test/empirical_kernel_map.cpp +++ b/dlib/test/empirical_kernel_map.cpp @@ -33,7 +33,8 @@ namespace 0 // the number of command line arguments for this test ) { - thetime = time(0); + // always use the same time so that tests are repeatable + thetime = 0;//time(0); } time_t thetime;