View | Details | Raw Unified | Return to bug 266853
Collapse All | Expand All

(-)b/devel/unittest-cpp/Makefile (+3 lines)
Lines 10-15 WWW= https://github.com/unittest-cpp/unittest-cpp Link Here
10
LICENSE=	MIT
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/LICENSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
12
13
DEPRECATED=	Upstream have declared hiatus status since 2+ years back. Please consider using devel/googletest instead
14
EXPIRATION_DATE=2022-12-31
15
13
USE_GITHUB=	yes
16
USE_GITHUB=	yes
14
17
15
USES=		cmake
18
USES=		cmake
(-)b/devel/unittest-cpp/files/patch-tests_TestTest.cpp (-1 / +32 lines)
Added Link Here
0
- 
1
--- tests/TestTest.cpp.orig	2022-10-05 11:53:09 UTC
2
+++ tests/TestTest.cpp
3
@@ -74,29 +74,6 @@ namespace {
4
 
5
 #if !defined(UNITTEST_MINGW) && !defined(UNITTEST_WIN32)
6
 // Skip this test in debug because some debuggers don't like it.
7
-#if defined(NDEBUG)
8
-   TEST(CrashingTestsAreReportedAsFailures)
9
-   {
10
-      class CrashingTest : public Test
11
-      {
12
-      public:
13
-         CrashingTest() : Test("crashing") {}
14
-         virtual void RunImpl() const
15
-         {
16
-
17
-            reinterpret_cast< void (*)() >(0)();
18
-         }
19
-      };
20
-
21
-      TestResults results;
22
-      {
23
-         ScopedCurrentTest scopedResult(results);
24
-         CrashingTest().Run();
25
-      }
26
-
27
-      CHECK_EQUAL(1, results.GetFailureCount());
28
-   }
29
-#endif
30
 #endif
31
 #endif
32
 

Return to bug 266853