From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- .../unittest++-2.0.0-fix-tests-with-clang.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dev-libs/unittest++/files/unittest++-2.0.0-fix-tests-with-clang.patch (limited to 'dev-libs/unittest++/files/unittest++-2.0.0-fix-tests-with-clang.patch') diff --git a/dev-libs/unittest++/files/unittest++-2.0.0-fix-tests-with-clang.patch b/dev-libs/unittest++/files/unittest++-2.0.0-fix-tests-with-clang.patch new file mode 100644 index 000000000000..201ff10de5a3 --- /dev/null +++ b/dev-libs/unittest++/files/unittest++-2.0.0-fix-tests-with-clang.patch @@ -0,0 +1,27 @@ +commit 2423fcac7668aa9c331a2dcf024c3ca06742942d +Author: Dan Huantes +Date: Thu Aug 15 08:26:41 2019 -0500 + + 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. + +diff --git a/tests/TestTest.cpp b/tests/TestTest.cpp +index 5a4e1ca..0db0650 100644 +--- a/tests/TestTest.cpp ++++ b/tests/TestTest.cpp +@@ -72,7 +72,7 @@ namespace { + CHECK_EQUAL(1, results.GetFailureCount()); + } + +-#if !defined(UNITTEST_MINGW) && !defined(UNITTEST_WIN32) ++#if !defined(UNITTEST_MINGW) && !defined(UNITTEST_WIN32) && !defined(__clang__) + // Skip this test in debug because some debuggers don't like it. + #if defined(NDEBUG) + TEST(CrashingTestsAreReportedAsFailures) -- cgit v1.2.3