git: f40867b1378e - main - lang/zig-devel: add test target
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 23:45:16 UTC
The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=f40867b1378eb592ceaf0e20193cc4a70ce6379f commit f40867b1378eb592ceaf0e20193cc4a70ce6379f Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2021-12-21 23:22:10 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2021-12-21 23:44:45 +0000 lang/zig-devel: add test target --- lang/zig-devel/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lang/zig-devel/Makefile b/lang/zig-devel/Makefile index 4a82b3740d64..dd757088d21f 100644 --- a/lang/zig-devel/Makefile +++ b/lang/zig-devel/Makefile @@ -58,4 +58,10 @@ post-install: ${INSTALL_MAN} ${WRKDIR}/doc/${f} ${STAGEDIR}${DOCSDIR}/std/ .endfor +do-test: + (cd ${WRKSRC} && ${_ZIG_BIN} build test-behavior \ + --cache-dir ${WRKDIR}/cache \ + --global-cache-dir ${WRKDIR}/cache \ + --zig-lib-dir ${WRKSRC}/lib) + .include <bsd.port.mk>