diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-01-16 18:03:37 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-01-16 18:04:55 +0000 |
commit | f1ba99376b91db7f2e4bfeb142610a1d75310de8 (patch) | |
tree | d8277dcbad07fcd64c4a80b7216bfcdb0ee68d7b | |
parent | 55a8755e94d7a4efa580622ba4829c87c7b47f87 (diff) | |
download | ports-f1ba99376b91db7f2e4bfeb142610a1d75310de8.tar.gz ports-f1ba99376b91db7f2e4bfeb142610a1d75310de8.zip |
textproc/cpp-peglib: Fix tests
-rw-r--r-- | textproc/cpp-peglib/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/textproc/cpp-peglib/Makefile b/textproc/cpp-peglib/Makefile index f8416776723b..7e832ed5bf00 100644 --- a/textproc/cpp-peglib/Makefile +++ b/textproc/cpp-peglib/Makefile @@ -9,19 +9,15 @@ COMMENT= C++ header-only PEG (Parsing Expression Grammars) library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c++17-lang +USES= cmake:testing compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= yhirose +CMAKE_TESTING_ON= FREEBSD_BUILD_TESTS + NO_ARCH= yes PLIST_FILES= include/peglib.h -do-test: # testsuite segvs in the middle: https://github.com/yhirose/cpp-peglib/issues/189 - @cd ${BUILD_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFREEBSD_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ - test/test-main - .include <bsd.port.mk> |