svn commit: r501569 - in head/graphics/libjxr: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon May 13 14:27:30 UTC 2019


Author: amdmi3
Date: Mon May 13 14:27:29 2019
New Revision: 501569
URL: https://svnweb.freebsd.org/changeset/ports/501569

Log:
  - Switch to new test framework and make test meaningful by not ignoring the failure
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/libjxr/Makefile
  head/graphics/libjxr/files/test.sh

Modified: head/graphics/libjxr/Makefile
==============================================================================
--- head/graphics/libjxr/Makefile	Mon May 13 14:26:27 2019	(r501568)
+++ head/graphics/libjxr/Makefile	Mon May 13 14:27:29 2019	(r501569)
@@ -29,7 +29,7 @@ do-configure:
 post-build:
 	${MKDIR} ${STAGEDIR}${PREFIX}/include/jxrlib
 
-regression-test test check: build
+do-test:
 	${SETENV} WRKSRC="${WRKSRC}" ${SH} -x ${FILESDIR}/test.sh
 
 .include <bsd.port.mk>

Modified: head/graphics/libjxr/files/test.sh
==============================================================================
--- head/graphics/libjxr/files/test.sh	Mon May 13 14:26:27 2019	(r501568)
+++ head/graphics/libjxr/files/test.sh	Mon May 13 14:27:29 2019	(r501569)
@@ -22,5 +22,5 @@ then
 	exit 0
 else
 	echo Result is not the same as input, may be a problem
-	exit 0
+	exit 1
 fi


More information about the svn-ports-head mailing list