We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e74ff5 commit 9940b30Copy full SHA for 9940b30
1 file changed
modules/core/util/tests/util.cpp
@@ -16,14 +16,10 @@ TEST(util_tests, extracts_correct_namespace) {
16
EXPECT_EQ(kNs, "my::nested");
17
}
18
19
-TEST(util_tests, GetNumThreadsEnvUnsetReturn) {
+TEST(util_tests, threads_control_check_openmp_disabled_valgrind) {
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_max_threads());
24
- } else {
25
- GTEST_SKIP() << "PPC_NUM_THREADS environment variable is set, skipping test";
26
- }
+ EXPECT_EQ(ppc::util::GetNumThreads(), omp_get_max_threads());
27
28
29
namespace test_ns {
0 commit comments