We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e5f7c commit 2e74ff5Copy full SHA for 2e74ff5
1 file changed
modules/core/util/tests/util.cpp
@@ -20,7 +20,7 @@ TEST(util_tests, GetNumThreadsEnvUnsetReturn) {
20
const auto num_threads_env_var = env::get<int>("PPC_NUM_THREADS");
21
22
if (num_threads_env_var.has_value()) {
23
- EXPECT_EQ(ppc::util::GetNumThreads(), omp_get_num_threads());
+ EXPECT_EQ(ppc::util::GetNumThreads(), omp_get_max_threads());
24
} else {
25
GTEST_SKIP() << "PPC_NUM_THREADS environment variable is set, skipping test";
26
}
0 commit comments