git: 789017736334 - main - science/siconos: Add test target (currently broken)

Yuri Victorovich yuri at FreeBSD.org
Wed Aug 25 20:28:38 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7890177363343a64e52af7a50dc9366d8eb837a0

commit 7890177363343a64e52af7a50dc9366d8eb837a0
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-25 20:06:37 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-08-25 20:28:24 +0000

    science/siconos: Add test target (currently broken)
---
 science/siconos/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/science/siconos/Makefile b/science/siconos/Makefile
index 93c6ec53b009..86658b453d59 100644
--- a/science/siconos/Makefile
+++ b/science/siconos/Makefile
@@ -18,12 +18,14 @@ LIB_DEPENDS=	libcxsparse.so:math/suitesparse-cxsparse \
 		libgmp.so:math/gmp \
 		libldl.so:math/suitesparse-ldl \
 		libopenblas.so:math/openblas
+TEST_DEPENDS=	cppunit>0:devel/cppunit
 
-USES=		cmake compiler:c++17-lang fortran pkgconfig
+USES=		cmake:testing compiler:c++17-lang fortran pkgconfig
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DFREEBSD_PYTHON_VER=${PYTHON_VER}
+CMAKE_TESTING_ON=	WITH_TESTING # tests are broken, see https://github.com/siconos/siconos/issues/415
 
 CFLAGS+=	-DCLOCKTIME -DCLOCKS_PER_SEC=128 # workaround for 'Undefined symbol "ftime"', see https://github.com/siconos/siconos/issues/411
 


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