The utility of the determinism is all about enabling test suites to pass even if they use "random" behavior. How the determinism is achieved, I don't really care.
As long as tests that use "random" behavior have predictable results. It doesn't matter to me if they have platform differences. As long as the expected test results account for any differences that do exist, the goal can still be satisfied: predictable results. thx, D On Sat, Dec 13, 2014 at 1:05 PM, Ben Boeckel <ben.boec...@kitware.com> wrote: > On Thu, Dec 11, 2014 at 14:41:36 -0500, David Cole via cmake-developers wrote: >> Yes, setting an explicit seed should make subsequent calls to random >> be deterministic... > > Well, *we* want that, but I don't think that OpenBSD is making an > *awful* decision here. > > Even if you want deterministic, you're only deterministic on a single > platform, so if you want to get a deterministicly random (such an odd > phrase…) sequence, the best thing to do is to code up an Mersenne > Twister or something and ignore the rand/srand functions. > > --Ben -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers