Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2021 20:28:38 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 789017736334 - main - science/siconos: Add test target (currently broken)
Message-ID:  <202108252028.17PKScvU010880@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 7890177363343a64e52af7a50dc9366d8eb837a0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-25 20:06:37 +0000
Commit:     Yuri Victorovich <yuri@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108252028.17PKScvU010880>