diff options
author | rillig <rillig@pkgsrc.org> | 2018-11-30 19:07:37 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2018-11-30 19:07:37 +0000 |
commit | 5c588be721a1ef4ba5b172ba8e5c2ec48cb3b0f9 (patch) | |
tree | d801bbff30ee78c32e36d73060fa8ade3d088bf0 /pkgtools | |
parent | fa9415d238597e7ecfa803385ecdf9f875033f8c (diff) | |
download | pkgsrc-5c588be721a1ef4ba5b172ba8e5c2ec48cb3b0f9.tar.gz |
pkgtools/pkg_regress: update to 0.4
Changes since 0.3:
* when a regression test fails, the exit code of pkg_regress is 1
instead of 0.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_regress/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkg_regress/files/pkg_regress.sh | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkg_regress/Makefile b/pkgtools/pkg_regress/Makefile index 012018f4b30..4d2d93e54b7 100644 --- a/pkgtools/pkg_regress/Makefile +++ b/pkgtools/pkg_regress/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.15 2018/11/30 18:42:12 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2018/11/30 19:07:37 rillig Exp $ -PKGNAME= pkg_regress-0.3 +PKGNAME= pkg_regress-0.4 CATEGORIES= pkgtools MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/pkgtools/pkg_regress/files/pkg_regress.sh b/pkgtools/pkg_regress/files/pkg_regress.sh index 9a48a15b34f..fed95eaf448 100755 --- a/pkgtools/pkg_regress/files/pkg_regress.sh +++ b/pkgtools/pkg_regress/files/pkg_regress.sh @@ -1,6 +1,6 @@ #! @SH@ # -# $NetBSD: pkg_regress.sh,v 1.6 2016/06/11 10:31:06 rillig Exp $ +# $NetBSD: pkg_regress.sh,v 1.7 2018/11/30 19:07:37 rillig Exp $ # set -e @@ -149,3 +149,6 @@ fi echo "Statistics:" echo " $passed passed, $failed failed" +if [ $failed -ne 0 ]; then + exit 1 +fi |