Skip to content

Commit

Permalink
Fix compliation error, set gdb dump file path
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramd committed Nov 27, 2024
1 parent f6446d1 commit e1cbcb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unittest/proxylib/TestSai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ TEST(Sai, dbgGenerateDump)

const std::string filePath = "/var/log/testDump.log";

EXPECT_EQ(SAI_STATUS_SUCCESS, sai.dbgGenerateDump(filePath.c_str()));
auto status = sai.dbgGenerateDump(filePath.c_str());

EXPECT_EQ(status, SAI_STATUS_SUCCESS);

proxy->stop();

Expand Down

0 comments on commit e1cbcb1

Please sign in to comment.