Use the test framework

This commit is contained in:
Baptiste Daroussin
2016-01-23 10:23:40 +00:00
parent 79a9a4c52f
commit 2bf276fdb2

View File

@@ -48,7 +48,7 @@ post-patch:
misc/news/newsgate)
TEST_CMD= '(cd ${WRKSRC}/agent/test; ${SETENV} ${MAKE_ENV} ${MAKE})'
regression-test: build
do-test:
@if [ `${ID} -u` = 0 ]; then \
${CHOWN} -R nobody ${WRKSRC}/agent/test; \
su -m nobody -c ${TEST_CMD}; \