]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Always randomize test runs
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 6 Sep 2024 12:48:40 +0000 (14:48 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 6 Sep 2024 12:48:40 +0000 (14:48 +0200)
pdns/recursordist/testrunner.cc

index 95c37f41edeb14bf5d45380d6a3c07c23cb89b74..ee3a38eb87020a9a78db019464890576b6f1f956 100644 (file)
@@ -80,5 +80,6 @@ static bool init_unit_test()
 // entry point:
 int main(int argc, char* argv[])
 {
+  setenv("BOOST_TEST_RANDOM", "1", 1); // NOLINT(concurrency-mt-unsafe)
   return boost::unit_test::unit_test_main(&init_unit_test, argc, argv);
 }