aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-10-05 16:42:16 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-10-05 18:36:26 +0000
commit20939d8299f29b2faacc46a0169e143f481a406a (patch)
treeb963f07cb4a80fca96a93aef05c466909b2fbfef
parent7df3b6e2364a99824a9c10c1dbfc9d5696a02258 (diff)
downloadports-20939d8299f29b2faacc46a0169e143f481a406a.tar.gz
ports-20939d8299f29b2faacc46a0169e143f481a406a.zip
math/py-heyoka: Add testsuite to the test target
-rw-r--r--math/py-heyoka/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/py-heyoka/Makefile b/math/py-heyoka/Makefile
index ca6a769fb2aa..145a3fe4afd1 100644
--- a/math/py-heyoka/Makefile
+++ b/math/py-heyoka/Makefile
@@ -33,6 +33,8 @@ CMAKE_ON= HEYOKA_PY_ENABLE_IPO
CMAKE_ARGS= -DFREEBSD_PYTHON_DISTVERSION=${PYTHON_DISTVERSION}
do-test: install
+ # testsuite based on instructions in https://bluescarni.github.io/heyoka.py/install.html#verifying-the-installation
+ @${PYTHON_CMD} -c "import heyoka; heyoka.test.run_test_suite();"
# integrate and plot an example
@${PYTHON_CMD} ${FILESDIR}/example-restricted-three-body-problem.py