Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cpputest Update to 4.0. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12c689fbbf1a
branches:  trunk
changeset: 435399:12c689fbbf1a
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Jul 07 09:04:55 2020 +0000

description:
Update to 4.0. From the changelog:

New functionality:

* Added MemoryAccountant
* Added SimpleStringCache that also removed the memory leak caused by longjmp in C
* Thread-safe memory leak detector overloads
* New command-line options:
  * -h help option
  * -s shuffle (random) option
  * -t run a specific test option
  * -vv extra verbose option
  * -k add a package name to junit output
* Added new asserts: CHECK_COMPARE, and improved C macros
* Support for newer compilers and address sanitizer

Small improvements:

* Fixed problems with gdb
* More 16-bit support
* Added Makefile for making the examples with an installed CppUTest
* Small mock improvements
* Removed more compiler warnings
* Support for C++14, C++17, and C++2x (added to automated build)

Improved maintainability:

* Docker builds
* Vastly improved the automated build with more platforms and variants
* Continuously releasing the passing build
* MS-DOS support (added to automated build)

diffstat:

 devel/cpputest/Makefile |  22 +++++++---------------
 devel/cpputest/PLIST    |  11 ++++++++++-
 devel/cpputest/distinfo |  10 +++++-----
 3 files changed, 22 insertions(+), 21 deletions(-)

diffs (104 lines):

diff -r 19bb9639b491 -r 12c689fbbf1a devel/cpputest/Makefile
--- a/devel/cpputest/Makefile   Tue Jul 07 09:00:34 2020 +0000
+++ b/devel/cpputest/Makefile   Tue Jul 07 09:04:55 2020 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2020/01/18 23:30:25 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2020/07/07 09:04:55 schmonz Exp $
 
+DISTNAME=              cpputest-4.0
+CATEGORIES=            devel
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=cpputest/}
 GITHUB_PROJECT=                cpputest
 GITHUB_TAG=            v${PKGVERSION_NOREV}
-DISTNAME=              cpputest-3.8
-PKGREVISION=           1
-CATEGORIES=            devel
-MASTER_SITES=          ${MASTER_SITE_GITHUB:=cpputest/}
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              https://cpputest.github.io/
@@ -14,22 +13,15 @@
 
 PKGCONFIG_OVERRIDE+=   cpputest.pc.in
 
-#USE_CMAKE=            yes
-USE_LIBTOOL=           yes
-GNU_CONFIGURE=         yes
-CONFIGURE_SCRIPT=      ../configure
-CONFIGURE_DIRS=                cpputest_build
-BUILD_DIRS=            ${CONFIGURE_DIRS}
-USE_TOOLS+=            automake autoreconf pkg-config
+USE_CMAKE=             yes
+#USE_LIBTOOL=          yes
+#USE_TOOLS+=           pkg-config
 USE_LANGUAGES=         c c++
 
 TEST_TARGET=           check tdd
 
 INSTALLATION_DIRS=     share/CppUTest
 
-pre-configure:
-       cd ${WRKSRC}/${CONFIGURE_DIRS} && autoreconf .. -fiv
-
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/build/MakefileWorker.mk ${DESTDIR}${PREFIX}/share/CppUTest/MakefileWorker.mk
 
diff -r 19bb9639b491 -r 12c689fbbf1a devel/cpputest/PLIST
--- a/devel/cpputest/PLIST      Tue Jul 07 09:00:34 2020 +0000
+++ b/devel/cpputest/PLIST      Tue Jul 07 09:04:55 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/08/14 23:42:08 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/07/07 09:04:55 schmonz Exp $
 include/CppUTest/CommandLineArguments.h
 include/CppUTest/CommandLineTestRunner.h
 include/CppUTest/CppUTestConfig.h
@@ -12,6 +12,7 @@
 include/CppUTest/PlatformSpecificFunctions_c.h
 include/CppUTest/SimpleMutex.h
 include/CppUTest/SimpleString.h
+include/CppUTest/SimpleStringInternalCache.h
 include/CppUTest/StandardCLibrary.h
 include/CppUTest/TeamCityTestOutput.h
 include/CppUTest/TestFailure.h
@@ -26,9 +27,11 @@
 include/CppUTest/TestTestingFixture.h
 include/CppUTest/Utest.h
 include/CppUTest/UtestMacros.h
+include/CppUTestExt/CodeMemoryReportFormatter.h
 include/CppUTestExt/GMock.h
 include/CppUTestExt/GTest.h
 include/CppUTestExt/GTestConvertor.h
+include/CppUTestExt/GTestSupport.h
 include/CppUTestExt/IEEE754ExceptionsPlugin.h
 include/CppUTestExt/MemoryReportAllocator.h
 include/CppUTestExt/MemoryReportFormatter.h
@@ -44,6 +47,12 @@
 include/CppUTestExt/MockSupportPlugin.h
 include/CppUTestExt/MockSupport_c.h
 include/CppUTestExt/OrderedTest.h
+lib/CppUTest/cmake/CppUTestConfig.cmake
+lib/CppUTest/cmake/CppUTestConfigVersion.cmake
+lib/CppUTest/cmake/CppUTestTargets-relwithdebinfo.cmake
+lib/CppUTest/cmake/CppUTestTargets.cmake
+lib/CppUTest/cmake/Modules/CppUTestBuildTimeDiscoverTests.cmake
+lib/CppUTest/cmake/Scripts/CppUTestBuildTimeDiscoverTests.cmake
 lib/libCppUTest.a
 lib/libCppUTestExt.a
 lib/pkgconfig/cpputest.pc
diff -r 19bb9639b491 -r 12c689fbbf1a devel/cpputest/distinfo
--- a/devel/cpputest/distinfo   Tue Jul 07 09:00:34 2020 +0000
+++ b/devel/cpputest/distinfo   Tue Jul 07 09:04:55 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2018/12/16 07:02:07 schmonz Exp $
+$NetBSD: distinfo,v 1.5 2020/07/07 09:04:55 schmonz Exp $
 
-SHA1 (cpputest-3.8.tar.gz) = c68f8b59d0beb6d4e6953173ec3611f801cdb3a1
-RMD160 (cpputest-3.8.tar.gz) = c1a4fad966bd8c557fbe62dde0d418b7d1b529ec
-SHA512 (cpputest-3.8.tar.gz) = 42b9a98549e1296ab9dfcd40bb94e1ac634fc1e70ad6250654ca0fa254c63e0349ae9ccd0b9d72c4bde1f7baccde97e08ce3e6d1fff3e464c3d9e8ae5949185f
-Size (cpputest-3.8.tar.gz) = 2333302 bytes
+SHA1 (cpputest-4.0.tar.gz) = 523a82e55cfdec16bd98b4fe087dd8b929d92538
+RMD160 (cpputest-4.0.tar.gz) = 3f59d987202a38a18c6a749c5d5c8df9b0e99cb5
+SHA512 (cpputest-4.0.tar.gz) = 5f7d6f9e34a462b35a0161a7486fd56074f5b07f92d029a3c57741c72df7bbc6ea4f98b1e57e9c500ad6d57c303d222afe523d59ec943f4461f67ce5be74dd77
+Size (cpputest-4.0.tar.gz) = 762773 bytes
 SHA1 (patch-include_CppUTest_PlatformSpecificFunctions.h) = 03a11329605ae496f1eb41c958d9679da9e0133a
 SHA1 (patch-src_Platforms_Gcc_UtestPlatform.cpp) = 436725ac8e2d6b71d2488cd1076d55082104c3bb



Home | Main Index | Thread Index | Old Index