diff --git a/devel/trompeloeil/Makefile b/devel/trompeloeil/Makefile index e6ca43e200c2..7cda44d58e6a 100644 --- a/devel/trompeloeil/Makefile +++ b/devel/trompeloeil/Makefile @@ -1,34 +1,42 @@ PORTNAME= trompeloeil DISTVERSIONPREFIX= v -DISTVERSION= 44 +DISTVERSION= 45 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Header only C++14 mocking framework WWW= https://github.com/rollbear/trompeloeil LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt TEST_DEPENDS= ${LOCALBASE}/include/catch2/catch.hpp:devel/catch \ criterion>0:devel/criterion -USES= cmake:testing # unclear how to run tests, see https://github.com/rollbear/trompeloeil/issues/287 +USES= cmake:testing USE_GITHUB= yes GH_ACCOUNT= rollbear +CMAKE_TESTING_TARGET= self_test thread_terror custom_recursive_mutex # see the README + NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= DOCS PORTDOCS= * post-install: @cd ${STAGEDIR}${DOCSDIR} && \ ${RM} LICENSE_1_0.txt && \ ${MV} docs/* . && \ ${RMDIR} docs +post-test: # run tests +.for exe in ${CMAKE_TESTING_TARGET} + ${ECHO} "==> Running tests executable ${exe}" + @cd ${TEST_WRKSRC} && test/${exe} +.endfor + .include diff --git a/devel/trompeloeil/distinfo b/devel/trompeloeil/distinfo index a3966012adf0..41bce4689275 100644 --- a/devel/trompeloeil/distinfo +++ b/devel/trompeloeil/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1687077810 -SHA256 (rollbear-trompeloeil-v44_GH0.tar.gz) = 004877db6ba22f24c7867e112e081eeb68858122f55ebe7c7dd9d8d9e3b46c88 -SIZE (rollbear-trompeloeil-v44_GH0.tar.gz) = 307572 +TIMESTAMP = 1690004321 +SHA256 (rollbear-trompeloeil-v45_GH0.tar.gz) = 124b0aa45d84415193719376b6557fc1f1180cbfebf4dc4f7ca247cb404d6bd8 +SIZE (rollbear-trompeloeil-v45_GH0.tar.gz) = 308207 diff --git a/devel/trompeloeil/pkg-plist b/devel/trompeloeil/pkg-plist index e3a298cb3b07..53f124d4a9d1 100644 --- a/devel/trompeloeil/pkg-plist +++ b/devel/trompeloeil/pkg-plist @@ -1,11 +1,12 @@ include/boost/trompeloeil.hpp +include/cantata/trompeloeil.hpp include/catch2/trompeloeil.hpp include/criterion/trompeloeil.hpp include/crpcut/trompeloeil.hpp include/cxxtest/trompeloeil.hpp include/doctest/trompeloeil.hpp include/gtest/trompeloeil.hpp include/trompeloeil.hpp lib/cmake/trompeloeil/trompeloeil-config-version.cmake lib/cmake/trompeloeil/trompeloeil-config.cmake lib/cmake/trompeloeil/trompeloeil-targets.cmake