File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,7 @@ size_t _swift_stdlib_malloc_size(const void *ptr) {
66
66
#error No malloc_size analog known for this platform/libc.
67
67
#endif
68
68
69
- static std::random_device RandomeDevice;
70
- static std::mt19937 MersenneRandom (RandomeDevice());
69
+ static std::mt19937 MersenneRandom;
71
70
72
71
__swift_uint32_t _swift_stdlib_cxx11_mt19937 (void ) {
73
72
return MersenneRandom ();
Original file line number Diff line number Diff line change 1
- // FIXME: This test fails with some expected probability because
2
- // it is testing the statistical nature of the hashing.
3
- // The test failing probabilistically is bad for regression testing,
4
- // which causes test failures for this test to both be largely
5
- // ignored but also can cause the entire test suite to fail
6
- // unexpectedly.
7
- //
8
- // This test is being DISABLED until it is written in a way
9
- // for it to be reliable and useful.
10
- //
11
-
12
1
// RUN: %target-run-stdlib-swift
13
2
// REQUIRES: executable_test
14
3
You can’t perform that action at this time.
0 commit comments