Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2019 14:27:29 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501569 - in head/graphics/libjxr: . files
Message-ID:  <201905131427.x4DERTDe013924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905131427.x4DERTDe013924>