diff --git a/modules/ts/src/ts_perf.cpp b/modules/ts/src/ts_perf.cpp index b9eac499ae..d0194eda3e 100644 --- a/modules/ts/src/ts_perf.cpp +++ b/modules/ts/src/ts_perf.cpp @@ -1012,6 +1012,8 @@ void TestBase::reportMetrics(bool toJUnitXML) void TestBase::SetUp() { + cv::theRNG().state = param_seed; // this rng should generate same numbers for each run + #ifdef HAVE_TBB if (param_tbb_nthreads > 0) { p_tbb_initializer.release();