From 97da0444b9f6ff10cda8f00b73dea59ee18f34e2 Mon Sep 17 00:00:00 2001 From: Vivek Kale <11766050+vlkale@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:50:21 -0700 Subject: [PATCH] test_parfor.cpp: put in fence test --- tests/sampler/test_parfor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/sampler/test_parfor.cpp b/tests/sampler/test_parfor.cpp index 5ce19c19d..340c05ebb 100644 --- a/tests/sampler/test_parfor.cpp +++ b/tests/sampler/test_parfor.cpp @@ -63,4 +63,8 @@ TEST(SamplerTest, ktoEnvVarDefault) { for (const auto& matcher : matchers) { EXPECT_THAT(output.str(), ::testing::HasSubstr(matcher)); } // end TEST + + EXPECT_THAT(output.str(), testing::Not(testing::HasSubstr( + "KokkosP: FATAL: Kokkos Tools Programming " + "Interface's tool-invoked Fence is NULL!"))); }