Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2022 07:12:25 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: a69d5af9d98c - main - science/thermofun: Fix test target
Message-ID:  <202207180712.26I7CPFG027877@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=a69d5af9d98c052f2fff8c77939f9a36c69fb869

commit a69d5af9d98c052f2fff8c77939f9a36c69fb869
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-18 07:12:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-18 07:12:23 +0000

    science/thermofun: Fix test target
---
 science/thermofun/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/science/thermofun/Makefile b/science/thermofun/Makefile
index 395e3421c7df..f739e9cbfc30 100644
--- a/science/thermofun/Makefile
+++ b/science/thermofun/Makefile
@@ -20,12 +20,15 @@ GH_ACCOUNT=	thermohub
 
 CXXFLAGS+=	-DSPDLOG_FMT_EXTERNAL # see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258073#c3
 
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}
+
 OPTIONS_DEFINE=		PYTHON
 OPTIONS_DEFAULT=	PYTHON
 OPTIONS_SUB=		yes
 
 PYTHON_USES=		python
-PYTHON_USE=		PYTHON=pytest
+PYTHON_USE=		PYTHON=pytest # 2 tests fail, see https://github.com/thermohub/thermofun/issues/37
 PYTHON_CMAKE_BOOL=	TFUN_BUILD_PYTHON
 PYTHON_CMAKE_ON=	-DFREEBSD_STAGEDIR=${STAGEDIR}
 PYTHON_BUILD_DEPENDS=	pybind11>0:devel/pybind11



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