git: 29c3e2e6e1de - main - science/plumed: Fix the test target
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jan 2022 22:30:13 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=29c3e2e6e1de61d7811499849a3755aa5e40bbdb
commit 29c3e2e6e1de61d7811499849a3755aa5e40bbdb
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-04 22:29:37 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-04 22:30:11 +0000
science/plumed: Fix the test target
---
science/plumed/Makefile | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/science/plumed/Makefile b/science/plumed/Makefile
index 7d6f4c961c4a..72f7d9e5ee54 100644
--- a/science/plumed/Makefile
+++ b/science/plumed/Makefile
@@ -18,7 +18,11 @@ USES= autoreconf compiler:c++11-lang gmake pkgconfig shebangfix
USE_LDCONFIG= yes
SHEBANG_GLOB= *.sh
-SHEBANG_FILES= src/maketools/makecmd src/maketools/xxd
+SHEBANG_FILES= src/maketools/makecmd \
+ src/maketools/xxd \
+ regtest/scripts/check \
+ regtest/scripts/run \
+ regtest/scripts/what
USE_GITHUB= yes
GH_PROJECT= plumed2
@@ -26,13 +30,14 @@ GH_PROJECT= plumed2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --disable-python
-TEST_TARGET= test # https://github.com/plumed/plumed2/issues/781
+TEST_TARGET= check # the 'installcheck' target checks installed version
+# 27 tests are known to fail: https://github.com/plumed/plumed2/issues/782
post-patch:
@${REINPLACE_CMD} -e 's|#! /bin/bash|#! ${LOCALBASE}/bin/bash|' ${WRKSRC}/src/lib/Makefile
post-install:
@${RMDIR} ${STAGEDIR}${PREFIX}/lib/plumed/obj
- @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/plumed lib/plumed/plumed-runtime lib/libplumed.so lib/libplumedKernel.so
+ @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/plumed lib/plumed/plumed-runtime lib/libplumed.so lib/libplumedKernel.so
.include <bsd.port.mk>