1
Fork 0
rust/src/libtest
bors 3499575282 Auto merge of #56243 - RalfJung:test-deterministic, r=alexcrichton
libtest: Use deterministic HashMap, avoid spawning thread if there is no concurrency

It seems desirable to make a test and bench runner deterministic, which this achieves by using a deterministic hasher. Also, we we only have 1 thread, we don't bother spawning one and just use the main thread.

The motivation for this is to be able to run the test harness in miri, where we can neither access the OS RNG, nor spawn threads.
2018-12-11 14:04:15 +00:00
..
formatters Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
Cargo.toml proc_macro: move to a dependency of libtest. 2018-11-30 06:15:20 +02:00
lib.rs Auto merge of #56243 - RalfJung:test-deterministic, r=alexcrichton 2018-12-11 14:04:15 +00:00
stats.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00