Don't check the random number generator state at the end
This commit is contained in:
parent
3fbd6b6143
commit
acfd0b6c1c
|
@ -36,6 +36,8 @@ struct ThreadNameReceiver : IThreadPoolReceiver {
|
|||
};
|
||||
|
||||
TEST_CASE("/flow/IThreadPool/NamedThread") {
|
||||
noUnseed = true;
|
||||
|
||||
state Reference<IThreadPool> pool = createGenericThreadPool();
|
||||
pool->addThread(new ThreadNameReceiver(), "thread-foo");
|
||||
|
||||
|
|
|
@ -99,6 +99,9 @@ struct UnitTestCollection {
|
|||
|
||||
extern UnitTestCollection g_unittests;
|
||||
|
||||
// Set this to `true` to disable RNG state checking after simulation runs.
|
||||
extern bool noUnseed;
|
||||
|
||||
#define APPEND(a, b) a##b
|
||||
|
||||
// FILE_UNIQUE_NAME(basename) expands to a name like basename456 if on line 456
|
||||
|
|
Loading…
Reference in New Issue