From 543646b473c575ce14256aace74e8667d3d155f6 Mon Sep 17 00:00:00 2001 From: mi Date: Fri, 20 Oct 2006 12:49:45 +0000 Subject: Fix the test-target to, actually, succeed, when the tests succeed... Approved by: portmgr (erwin) --- java/berkeley-db/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'java/berkeley-db') diff --git a/java/berkeley-db/Makefile b/java/berkeley-db/Makefile index 2623c4391c29..222c8c8f840a 100644 --- a/java/berkeley-db/Makefile +++ b/java/berkeley-db/Makefile @@ -36,12 +36,13 @@ test: # # Running the vendor-provided self-tests. This may take a while # - @cd ${BUILD_WRKSRC} && \ - ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${.TARGET} || \ + if ! (cd ${BUILD_WRKSRC} ; ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${.TARGET}) ; \ + then \ ${ECHO_MSG} Please, review test failures and consider \ reporting them via \ - http://forums.oracle.com/forums/forum.jspa?forumID=273 \ - && ${FALSE} + http://forums.oracle.com/forums/forum.jspa?forumID=273 ; \ + ${FALSE} ; \ + fi .include -- cgit