chiark / gitweb /
Use deterministic test seed
authorJulien Schueller <schueller@phimeca.com>
Thu, 6 Sep 2018 14:48:17 +0000 (16:48 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Sep 2018 14:48:17 +0000 (16:48 +0200)
test/CMakeLists.txt

index 85fc2ea3b7c3f8b6ce91c66896c1d919fb97fbe8..4154eb90000d7385ec71cae6960bbcdc3fc77a96 100644 (file)
@@ -32,7 +32,7 @@ foreach (algo_index RANGE 29)# 43
       set (enable_ FALSE)
     endif ()
     if (enable_)
       set (enable_ FALSE)
     endif ()
     if (enable_)
-      add_test (NAME testopt_algo${algo_index}_obj${obj_index} COMMAND testopt -a ${algo_index} -o ${obj_index})
+      add_test (NAME testopt_algo${algo_index}_obj${obj_index} COMMAND testopt -r 0 -a ${algo_index} -o ${obj_index})
       if (CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
         set_tests_properties (testopt_algo${algo_index}_obj${obj_index} PROPERTIES ENVIRONMENT "PATH=${PROJECT_BINARY_DIR}\\${CMAKE_BUILD_TYPE};$ENV{PATH}")  # to load dll
       endif ()
       if (CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
         set_tests_properties (testopt_algo${algo_index}_obj${obj_index} PROPERTIES ENVIRONMENT "PATH=${PROJECT_BINARY_DIR}\\${CMAKE_BUILD_TYPE};$ENV{PATH}")  # to load dll
       endif ()