pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_regress pkgtools/pkg_regress: update to 0.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38a840f27173
branches:  trunk
changeset: 315843:38a840f27173
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 30 19:07:37 2018 +0000

description:
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:

 pkgtools/pkg_regress/Makefile             |  4 ++--
 pkgtools/pkg_regress/files/pkg_regress.sh |  5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 4334d5dae1fd -r 38a840f27173 pkgtools/pkg_regress/Makefile
--- a/pkgtools/pkg_regress/Makefile     Fri Nov 30 19:06:32 2018 +0000
+++ b/pkgtools/pkg_regress/Makefile     Fri Nov 30 19:07:37 2018 +0000
@@ -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@localhost
diff -r 4334d5dae1fd -r 38a840f27173 pkgtools/pkg_regress/files/pkg_regress.sh
--- a/pkgtools/pkg_regress/files/pkg_regress.sh Fri Nov 30 19:06:32 2018 +0000
+++ b/pkgtools/pkg_regress/files/pkg_regress.sh Fri Nov 30 19:07:37 2018 +0000
@@ -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 @@
 
 echo "Statistics:"
 echo "  $passed passed, $failed failed"
+if [ $failed -ne 0 ]; then
+       exit 1
+fi



Home | Main Index | Thread Index | Old Index