Skip to content

Commit

Permalink
Merge pull request #1358 from basvodde/master
Browse files Browse the repository at this point in the history
Crash methods better not run with address sanitizer
  • Loading branch information
basvodde committed Apr 28, 2020
2 parents bd392fc + a900c4c commit 55cf970
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/CppUTest/UtestTest.cpp
Expand Up @@ -200,6 +200,8 @@ IGNORE_TEST(UtestShell, TestDefaultCrashMethodInSeparateProcessTest) {}

#else

#if !CPPUTEST_SANITIZE_ADDRESS

TEST(UtestShell, TestDefaultCrashMethodInSeparateProcessTest)
{
fixture.setTestFunction(UtestShell::crash);
Expand All @@ -213,6 +215,8 @@ TEST(UtestShell, TestDefaultCrashMethodInSeparateProcessTest)

#endif

#endif

#if CPPUTEST_USE_STD_CPP_LIB

static bool destructorWasCalledOnFailedTest = false;
Expand Down

0 comments on commit 55cf970

Please sign in to comment.