Skip to content

Commit

Permalink
Merge branch 'dev' into fix-lightpcapng-build
Browse files Browse the repository at this point in the history
  • Loading branch information
seladb authored Jun 21, 2024
2 parents 1e5f6a4 + 6ee2639 commit 00428d1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Tests/PcppTestFramework/PcppTestFrameworkRun.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,16 @@ static bool __ptfCheckTags(const std::string &tagSet, const std::string &tagSetT
bool memAllocVerbose = __ptfCheckTags("mem_leak_check_verbose", configTagsToRun, false); \
MemPlumber::start(memAllocVerbose); \
} \
TestName(TestName##_result, verboseMode, showSkippedTests); \
try \
{ \
TestName(TestName##_result, verboseMode, showSkippedTests); \
} \
catch (std::exception const& e) \
{ \
TestName##_result = PTF_RESULT_FAILED; \
std::cout << std::left << std::setw(35) << #TestName << ": FAILED. Unhandled exception occurred! " \
<< "Exception: " << e.what() << std::endl; \
} \
if (runMemLeakCheck) \
{ \
if (TestName##_result != PTF_RESULT_PASSED) \
Expand Down

0 comments on commit 00428d1

Please sign in to comment.