poudriere and make do-test
- Reply: Gleb Popov : "Re: poudriere and make do-test"
- Reply: Zsolt Udvari : "Re: poudriere and make do-test"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jul 2024 19:26:35 UTC
Hi, I am trying to give my ports some basic test to verify if it generates working executables. I implemented it by adding a do-test target in the Makefile. diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile index 654d6a78fb94..355df66fd053 100644 --- a/databases/mongodb60/Makefile +++ b/databases/mongodb60/Makefile @@ -145,4 +145,8 @@ do-install: .endfor ${RM} ${STAGEDIR}${PREFIX}/bin/resmoke.py +do-test: + ${STAGEDIR}${PREFIX}/bin/mongod -version \ + && ${STAGEDIR}${PREFIX}/bin/mongos -version + .include <bsd.port.post.mk> How do I get poudriere to execute this 'make do-test'? poudriere bulk -t as well as poudriere testport do not seem to execute do-test. I'm searching for documentation about this but the info I find is quite sparse. Regards, Ronald.