pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cpputest



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue Jul  7 09:04:55 UTC 2020

Modified Files:
        pkgsrc/devel/cpputest: Makefile PLIST distinfo

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/cpputest/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/cpputest/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/cpputest/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cpputest/Makefile
diff -u pkgsrc/devel/cpputest/Makefile:1.6 pkgsrc/devel/cpputest/Makefile:1.7
--- pkgsrc/devel/cpputest/Makefile:1.6  Sat Jan 18 23:30:25 2020
+++ pkgsrc/devel/cpputest/Makefile      Tue Jul  7 09:04:55 2020
@@ -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 $
 
-GITHUB_PROJECT=                cpputest
-GITHUB_TAG=            v${PKGVERSION_NOREV}
-DISTNAME=              cpputest-3.8
-PKGREVISION=           1
+DISTNAME=              cpputest-4.0
 CATEGORIES=            devel
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=cpputest/}
+GITHUB_PROJECT=                cpputest
+GITHUB_TAG=            v${PKGVERSION_NOREV}
 
 MAINTAINER=            schmonz%NetBSD.org@localhost
 HOMEPAGE=              https://cpputest.github.io/
@@ -14,22 +13,15 @@ LICENSE=            modified-bsd
 
 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
 

Index: pkgsrc/devel/cpputest/PLIST
diff -u pkgsrc/devel/cpputest/PLIST:1.3 pkgsrc/devel/cpputest/PLIST:1.4
--- pkgsrc/devel/cpputest/PLIST:1.3     Mon Aug 14 23:42:08 2017
+++ pkgsrc/devel/cpputest/PLIST Tue Jul  7 09:04:55 2020
@@ -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/PlatformSpecificFunctio
 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/TestResult.h
 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/MockSupport.h
 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

Index: pkgsrc/devel/cpputest/distinfo
diff -u pkgsrc/devel/cpputest/distinfo:1.4 pkgsrc/devel/cpputest/distinfo:1.5
--- pkgsrc/devel/cpputest/distinfo:1.4  Sun Dec 16 07:02:07 2018
+++ pkgsrc/devel/cpputest/distinfo      Tue Jul  7 09:04:55 2020
@@ -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