git: 743fd6ec70e2 - main - science/simgrid: Fix tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 24 Feb 2023 08:25:21 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=743fd6ec70e2818eb992b59719791be2a18c0268

commit 743fd6ec70e2818eb992b59719791be2a18c0268
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-24 08:25:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-24 08:25:17 +0000

    science/simgrid: Fix tests
---
 science/simgrid/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/science/simgrid/Makefile b/science/simgrid/Makefile
index 13a03e97a0a7..bae708145507 100644
--- a/science/simgrid/Makefile
+++ b/science/simgrid/Makefile
@@ -32,4 +32,7 @@ LDFLAGS+=	/usr/lib/liblzma.so # workaround for https://bugs.freebsd.org/bugzilla
 
 # tests fail, see https://github.com/simgrid/simgrid/issues/384
 
+pre-test: # build tests
+	@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} tests
+
 .include <bsd.port.mk>