Skip to content

Commit 2423fca

Browse files
author
Dan Huantes
committed
CrasingTestsAreReportedAsFailures no longer core dumps on Clang Release
Found that Crashing tests at some point in Clang history were actually caught but testing on Clang 6.0 and Clang 7.0 this is not the case. So added Clang to the list of compilers that don't run this tests. Noted that several other Pull Requests were failing for the same reason.
1 parent bdef2bd commit 2423fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace {
7272
CHECK_EQUAL(1, results.GetFailureCount());
7373
}
7474

75-
#if !defined(UNITTEST_MINGW) && !defined(UNITTEST_WIN32)
75+
#if !defined(UNITTEST_MINGW) && !defined(UNITTEST_WIN32) && !defined(__clang__)
7676
// Skip this test in debug because some debuggers don't like it.
7777
#if defined(NDEBUG)
7878
TEST(CrashingTestsAreReportedAsFailures)

0 commit comments

Comments
 (0)