From nobody Thu Oct 20 08:12:33 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MtL1Z0K0Sz4g9pd; Thu, 20 Oct 2022 08:12:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MtL1Y6gFLz49Zn; Thu, 20 Oct 2022 08:12:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666253553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RtxpZPNDl+ZURlTvfV5O8e74FCj/eFiMcNGaMMgByDI=; b=roimw6oyacRXQWdk6vhYWDq4h5rS+nvDUPn6F/w0aoN6OPobwRGOaujErNZDaOSDgix2Z+ OczFpMMTuhxY3+Hq+jC9R4zgageQqlQ2ghLXD/3E6P8G3YUymBa0HoT9MBnjSBklz+Xut6 SFxfeWqbkmC0hUtjyj5qHeHPYrt2DlAN7RjsEikcokWKpc527aLZwqf1o3Jlgo10YBxm6j RBgB0eIWXMlg7GInZ1rS/6Q23rROM759BHpFXxsYBq4f/7o1eNkHFuPUmGYMLYpLtF3HzZ HHbFHVZjtlJLL7JK1M8IUZNRAzQgfNxsG/CyLJCvCRSHu/mF5gknl8ctZ2O2iw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MtL1Y5jXHzpNS; Thu, 20 Oct 2022 08:12:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29K8CXGE079536; Thu, 20 Oct 2022 08:12:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29K8CXGN079535; Thu, 20 Oct 2022 08:12:33 GMT (envelope-from git) Date: Thu, 20 Oct 2022 08:12:33 GMT Message-Id: <202210200812.29K8CXGN079535@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 6cfe6970007d - main - devel/unittest-cpp: Deprecate and set expiration date to 2022-12-31 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6cfe6970007d6f56d4f7c0bd8c4905d08a06da84 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666253553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RtxpZPNDl+ZURlTvfV5O8e74FCj/eFiMcNGaMMgByDI=; b=ptw5uv9LOscgoyLWxm/rV2N9fRRbbmxmL3HZ+nWTKCFihqLFG1/fVzt10Yj4t2pJk3krH5 /4JLnzMLaDER8IVL0KZf7/LpEXsJU/xbJq7BOHGbccBEf3CqeeN1bRWgzEloLP5MhbG6ll xkwRQRjgqucaUJmJEtV5BMakYkNcDQY5+t3SeVOPG7dX41HPi2zrmn7B9LTyiDGfej9GBC Od/g6+AoxAvOgmGt0xRO9dm4ell+nDhBUgTRl5+Tolrqr89wjl7dg9AVizMkFSZEEQrphC BdS4rHGRX8kV0Zt0tbR3s+vepScl0RcaOu82+m55eKyYglmGZyVYPTFDNrRq7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666253553; a=rsa-sha256; cv=none; b=PbP/N1fhhonmIfADWC7QtHq7bjG4cR87c8pqRJxO2Ju/Xjd0+RH9zXsohvqi+jWDpdPzwO EmhIbKAvFWieZfpB0eEEF9Jp6XUCKsmgR6PEc3Z8dJGQwg4jfuaAW+dqgjAP3yLKMdi01v x1+5HcCWg4CoN+FMHxJx+eWBsfdGZ0kSq7HgmFMW2+Go2ijVWm1vlvRBCb+7Xg27s5vd/k Kosffx7RAbS4s4fgpg7oB38dfvQ/sdB2PxCyjUpieCozPRXOK2n15zAFvLvD/lkpeTJAa7 f+twFlmU8/+5NbBRSHMamMgZGQVbiEI1jJQGSHJ1aeqOQ5u8sMf23g2Yxr0vOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cfe6970007d6f56d4f7c0bd8c4905d08a06da84 commit 6cfe6970007d6f56d4f7c0bd8c4905d08a06da84 Author: Daniel Engberg AuthorDate: 2022-10-20 08:00:41 +0000 Commit: Daniel Engberg CommitDate: 2022-10-20 08:01:43 +0000 devel/unittest-cpp: Deprecate and set expiration date to 2022-12-31 Upstream have listed project on hiatus for more than 2 years Disable broken test when NDEBUG is defined Reference: https://github.com/unittest-cpp/unittest-cpp/issues/180 PR: 266853 Approved by: portmgr (maintainer timeout, 2+ weeks) --- devel/unittest-cpp/Makefile | 3 +++ devel/unittest-cpp/files/patch-tests_TestTest.cpp | 32 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/devel/unittest-cpp/Makefile b/devel/unittest-cpp/Makefile index 0a0d679fe162..c5c06247e4e0 100644 --- a/devel/unittest-cpp/Makefile +++ b/devel/unittest-cpp/Makefile @@ -10,6 +10,9 @@ WWW= https://github.com/unittest-cpp/unittest-cpp LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Upstream have declared hiatus status since 2+ years back. Please consider using devel/googletest instead +EXPIRATION_DATE=2022-12-31 + USE_GITHUB= yes USES= cmake diff --git a/devel/unittest-cpp/files/patch-tests_TestTest.cpp b/devel/unittest-cpp/files/patch-tests_TestTest.cpp new file mode 100644 index 000000000000..ed09c84e203e --- /dev/null +++ b/devel/unittest-cpp/files/patch-tests_TestTest.cpp @@ -0,0 +1,32 @@ +--- tests/TestTest.cpp.orig 2022-10-05 11:53:09 UTC ++++ tests/TestTest.cpp +@@ -74,29 +74,6 @@ namespace { + + #if !defined(UNITTEST_MINGW) && !defined(UNITTEST_WIN32) + // Skip this test in debug because some debuggers don't like it. +-#if defined(NDEBUG) +- TEST(CrashingTestsAreReportedAsFailures) +- { +- class CrashingTest : public Test +- { +- public: +- CrashingTest() : Test("crashing") {} +- virtual void RunImpl() const +- { +- +- reinterpret_cast< void (*)() >(0)(); +- } +- }; +- +- TestResults results; +- { +- ScopedCurrentTest scopedResult(results); +- CrashingTest().Run(); +- } +- +- CHECK_EQUAL(1, results.GetFailureCount()); +- } +-#endif + #endif + #endif +