Skip to content
Snippets Groups Projects
Commit 39cf24c9 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix test for threads placement environment variables

parent e6f72f30
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ TEST_CASE("PugsUtils", "[utils]") ...@@ -84,7 +84,7 @@ TEST_CASE("PugsUtils", "[utils]")
unsetenv("OMP_PLACES"); unsetenv("OMP_PLACES");
setDefaultOMPEnvironment(); setDefaultOMPEnvironment();
REQUIRE(std::string{getenv("OMP_PROC_BIND")} == std::string{"spread"}); REQUIRE(std::string{getenv("OMP_PROC_BIND")} == std::string{"spread,close"});
REQUIRE(std::string{getenv("OMP_PLACES")} == std::string{"threads"}); REQUIRE(std::string{getenv("OMP_PLACES")} == std::string{"threads"});
unsetenv("OMP_PROC_BIND"); unsetenv("OMP_PROC_BIND");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment