Skip to content

Commit

Permalink
test_parscan.cpp: apply clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale committed Apr 6, 2024
1 parent 388ca7b commit 4dea629
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/sampler/test_parscan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ struct Tester {
};

static const std::vector<std::string> matchers{
"(.*)KokkosP: sample 51 calling child-begin function...(.*)",
"(.*)KokkosP: sample 51 finished with child-begin function.(.*)",
"(.*)KokkosP: sample 51 calling child-end function...(.*)",
"(.*)KokkosP: sample 51 finished with child-end function.(.*)",
"(.*)KokkosP: sample 102 calling child-begin function...(.*)",
"(.*)KokkosP: sample 102 finished with child-begin function.(.*)",
"(.*)KokkosP: sample 102 calling child-end function...(.*)",
"(.*)KokkosP: sample 102 finished with child-end function.(.*)"};
"KokkosP: sample 51 calling child-begin function...",
"KokkosP: sample 51 finished with child-begin function.",
"KokkosP: sample 51 calling child-end function...",
"KokkosP: sample 51 finished with child-end function.",
"KokkosP: sample 102 calling child-begin function...",
"KokkosP: sample 102 finished with child-begin function.",
"KokkosP: sample 102 calling child-end function...",
"KokkosP: sample 102 finished with child-end function."};

/**
* @test This test checks that the tool effectively samples.
Expand Down Expand Up @@ -67,7 +67,7 @@ TEST(SamplerTest, ktoEnvVarDefault) {
//! Analyze test output.
for (const auto& matcher : matchers) {
EXPECT_THAT(output.str(), HasSubstr(matcher));
} // end TEST
}

EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: FATAL: No child library of "
"sampler utility library to call")));
Expand Down

0 comments on commit 4dea629

Please sign in to comment.