pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkg_regress



Module Name:    pkgsrc
Committed By:   rillig
Date:           Fri Nov 30 19:07:37 UTC 2018

Modified Files:
        pkgsrc/pkgtools/pkg_regress: Makefile
        pkgsrc/pkgtools/pkg_regress/files: pkg_regress.sh

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/pkgtools/pkg_regress/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/pkgtools/pkg_regress/files/pkg_regress.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg_regress/Makefile
diff -u pkgsrc/pkgtools/pkg_regress/Makefile:1.15 pkgsrc/pkgtools/pkg_regress/Makefile:1.16
--- pkgsrc/pkgtools/pkg_regress/Makefile:1.15   Fri Nov 30 18:42:12 2018
+++ pkgsrc/pkgtools/pkg_regress/Makefile        Fri Nov 30 19:07:37 2018
@@ -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

Index: pkgsrc/pkgtools/pkg_regress/files/pkg_regress.sh
diff -u pkgsrc/pkgtools/pkg_regress/files/pkg_regress.sh:1.6 pkgsrc/pkgtools/pkg_regress/files/pkg_regress.sh:1.7
--- pkgsrc/pkgtools/pkg_regress/files/pkg_regress.sh:1.6        Sat Jun 11 10:31:06 2016
+++ pkgsrc/pkgtools/pkg_regress/files/pkg_regress.sh    Fri Nov 30 19:07:37 2018
@@ -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



Home | Main Index | Thread Index | Old Index