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.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95af2f92a3fa
branches:  trunk
changeset: 406290:95af2f92a3fa
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Dec 17 15:38:43 2019 +0000

description:
pkgtools/pkg_regress: update to 0.5

Changes since 0.4:

The log output in verbose mode surrounds each test now and says
immediately whether that test fails. Before, that information was
collected and only shown at the very end of the output, which was
inconvenient.

diffstat:

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

diffs (45 lines):

diff -r 539b2c3a516b -r 95af2f92a3fa pkgtools/pkg_regress/Makefile
--- a/pkgtools/pkg_regress/Makefile     Tue Dec 17 15:13:41 2019 +0000
+++ b/pkgtools/pkg_regress/Makefile     Tue Dec 17 15:38:43 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2018/11/30 19:07:37 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2019/12/17 15:38:43 rillig Exp $
 
-PKGNAME=       pkg_regress-0.4
+PKGNAME=       pkg_regress-0.5
 CATEGORIES=    pkgtools
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 539b2c3a516b -r 95af2f92a3fa pkgtools/pkg_regress/files/pkg_regress.sh
--- a/pkgtools/pkg_regress/files/pkg_regress.sh Tue Dec 17 15:13:41 2019 +0000
+++ b/pkgtools/pkg_regress/files/pkg_regress.sh Tue Dec 17 15:38:43 2019 +0000
@@ -1,6 +1,6 @@
 #! @SH@
 #
-# $NetBSD: pkg_regress.sh,v 1.7 2018/11/30 19:07:37 rillig Exp $
+# $NetBSD: pkg_regress.sh,v 1.8 2019/12/17 15:38:43 rillig Exp $
 #
 set -e
 
@@ -105,14 +105,20 @@
 # one test do not interfere with other tests.
 runtest() {
        if [ "$verbose" = "yes" ]; then
-               echo "Running $1"
+               echo "pkg_regress: Running $1"
        fi
 
        if (do_runtest "$1"); then
                passed=`expr $passed + 1`
+               if [ "$verbose" = "yes" ]; then
+                       echo "pkg_regress: Finished $1 (passed)"
+               fi
        else
                failed=`expr $failed + 1`
                failed_names="$failed_names $1"
+               if [ "$verbose" = "yes" ]; then
+                       echo "pkg_regress: Finished $1 (failed)"
+               fi
        fi
 }
 



Home | Main Index | Thread Index | Old Index