aboutsummaryrefslogtreecommitdiff
path: root/graphics/libjxr
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-05-13 14:27:29 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-05-13 14:27:29 +0000
commit53ca9d5706b8c7a16f1b4d419b3c662146109be0 (patch)
tree77501d1bac9bbaf77afdb7a9ae196ed3c194a2b9 /graphics/libjxr
parenta61b0bcf83a02cb906acea3bd94af496e8c8edfd (diff)
downloadports-53ca9d5706b8c7a16f1b4d419b3c662146109be0.tar.gz
ports-53ca9d5706b8c7a16f1b4d419b3c662146109be0.zip
- Switch to new test framework and make test meaningful by not ignoring the failure
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=501569
Diffstat (limited to 'graphics/libjxr')
-rw-r--r--graphics/libjxr/Makefile2
-rw-r--r--graphics/libjxr/files/test.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libjxr/Makefile b/graphics/libjxr/Makefile
index 4315a6a2fb8b..168d033c96b5 100644
--- a/graphics/libjxr/Makefile
+++ b/graphics/libjxr/Makefile
@@ -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>
diff --git a/graphics/libjxr/files/test.sh b/graphics/libjxr/files/test.sh
index 34401cfba2b4..c4d169c79d89 100644
--- a/graphics/libjxr/files/test.sh
+++ b/graphics/libjxr/files/test.sh
@@ -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