aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/Makefile
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2015-03-23 15:28:05 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2015-03-23 15:28:05 +0000
commitde8b4e19152a39ee8d6a6e5eb9b164bf809cc429 (patch)
treeb0af933fd6f8ea1b30b623d88c848772677f1d71 /devel/ice/Makefile
parentccc283fe5259a8fec38ecb4a9d4737908958c79a (diff)
downloadports-de8b4e19152a39ee8d6a6e5eb9b164bf809cc429.tar.gz
ports-de8b4e19152a39ee8d6a6e5eb9b164bf809cc429.zip
Make sure that failed unit tests lead to failed builds.
Fix the unit test python script provided upstream [1] and move running the unit test to the pre-install target. [1] https://zeroc.com/forums/patches/6416-ice-3-5-1-small-patch-testutil-py.html Approved by: mentors (implicit)
Notes
Notes: svn path=/head/; revision=382009
Diffstat (limited to 'devel/ice/Makefile')
-rw-r--r--devel/ice/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/ice/Makefile b/devel/ice/Makefile
index bdfe21a8e4c6..848d3b9ce4a9 100644
--- a/devel/ice/Makefile
+++ b/devel/ice/Makefile
@@ -135,10 +135,10 @@ post-patch:
.if ${PORT_OPTIONS:MTESTS}
TEST_CMD= @cd ${BUILD_WRKSRC} && ${PYTHON_CMD} ./allTests.py
-post-build:
- ${TEST_CMD}
-regression-test test: build
+check regression-test test: build
${TEST_CMD}
+
+pre-install: regression-test
.endif
.include <bsd.port.post.mk>