Skip to content

Commit

Permalink
Update FunctionTrace{1,2} tests to reflect renamed file (#3534)
Browse files Browse the repository at this point in the history
This fixes a failure on TOT that has probably been present since #3126
was merged. This might not have been noticed previously since this test
only runs in Debug mode.
  • Loading branch information
jacobhinkle authored Dec 5, 2024
1 parent 64bc560 commit ecabd46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cpp/test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ TEST_F(NVFuserTest, FunctionTrace1) {
EXPECT_THAT(
ss.str(),
::testing::HasSubstr("Leaving myFavoriteFunction returning 3 at "));
EXPECT_THAT(ss.str(), ::testing::HasSubstr("test_gpu_utils.cpp:32"));
EXPECT_THAT(ss.str(), ::testing::HasSubstr("test_utils.cpp:32"));
#else
GTEST_SKIP() << "Test only runs in debug mode";
#endif
Expand All @@ -65,7 +65,7 @@ TEST_F(NVFuserTest, FunctionTrace2) {
EXPECT_THAT(
ss.str(),
::testing::HasSubstr("Leaving myFavoriteFunction returning -3 at "));
EXPECT_THAT(ss.str(), ::testing::HasSubstr("test_gpu_utils.cpp:34"));
EXPECT_THAT(ss.str(), ::testing::HasSubstr("test_utils.cpp:34"));
#else
GTEST_SKIP() << "Test only runs in debug mode";
#endif
Expand Down

0 comments on commit ecabd46

Please sign in to comment.