Skip to content

Commit

Permalink
science/thermofun: Fix test target
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jul 18, 2022
1 parent 66cb7ea commit a69d5af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion science/thermofun/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit a69d5af

Please sign in to comment.