Skip to content

Commit

Permalink
test_parfor.cpp: fix sampler number from 11 to 12
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale authored Apr 11, 2024
1 parent 1f4e9c2 commit efa80cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/sampler/test_parfor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ static const std::vector<std::string> matchers{
"KokkosP: sample 6 finished with child-begin function.",
"KokkosP: sample 6 calling child-end function...",
"KokkosP: sample 6 finished with child-end function.",
"KokkosP: sample 11 calling child-begin function...",
"KokkosP: sample 11 finished with child-begin function.",
"KokkosP: sample 11 calling child-end function...",
"KokkosP: sample 11 finished with child-end function."};
"KokkosP: sample 12 calling child-begin function...",
"KokkosP: sample 12 finished with child-begin function.",
"KokkosP: sample 12 calling child-end function...",
"KokkosP: sample 12 finished with child-end function."};

/**
* @test This test checks that the tool effectively samples.
Expand Down Expand Up @@ -78,7 +78,7 @@ TEST(SamplerTest, ktoEnvVarDefault) {
EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: sample 8 calling")));
EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: sample 9 calling")));
EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: sample 10 calling")));
EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: sample 12 calling")));
EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: sample 11 calling")));
EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: sample 13 calling")));
EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: sample 14 calling")));
EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: sample 15 calling")));
Expand Down

0 comments on commit efa80cb

Please sign in to comment.