git: 4b6939e6ca52 - main - www/srt: Add 'test' target

Yuri Victorovich yuri at FreeBSD.org
Mon May 17 03:24:43 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4b6939e6ca529ba23e7aaa2f44b137f63b36fbe0

commit 4b6939e6ca529ba23e7aaa2f44b137f63b36fbe0
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-17 03:24:14 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-05-17 03:24:41 +0000

    www/srt: Add 'test' target
---
 www/srt/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/srt/Makefile b/www/srt/Makefile
index d1abd6952c3f..d57af4978cc5 100644
--- a/www/srt/Makefile
+++ b/www/srt/Makefile
@@ -11,11 +11,13 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	bash:shells/bash
 
-USES=		cmake compiler:c++11-lang shebangfix ssl
+USES=		cmake:testing compiler:c++11-lang shebangfix ssl
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Haivision
 
 SHEBANG_FILES=	scripts/srt-ffplay
 
+CMAKE_TESTING_ON=	ENABLE_TESTING ENABLE_UNITTESTS # test TestIPv6.v6_calls_v4 hangs: https://github.com/Haivision/srt/issues/2007
+
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list