Received: by mail.netbsd.org (Postfix, from userid 605) id 832FC84D57; Wed, 3 Aug 2022 18:51:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BCFAF84D44 for ; Wed, 3 Aug 2022 18:51:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id VSx2KuKRBhQZ for ; Wed, 3 Aug 2022 18:51:57 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2A6D384CEF for ; Wed, 3 Aug 2022 18:51:57 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1DF76FB1A; Wed, 3 Aug 2022 18:51:57 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1659552717209540" MIME-Version: 1.0 Date: Wed, 3 Aug 2022 18:51:57 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc/pkgtools/lintpkgsrc/files/t To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20220803185157.1DF76FB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1659552717209540 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Wed Aug 3 18:51:57 UTC 2022 Modified Files: pkgsrc/pkgtools/lintpkgsrc/files/t: glob.t packages.t parse_makefile.t pkgversion.t Log Message: lint: fail if one of the tests fails To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t \ pkgsrc/pkgtools/lintpkgsrc/files/t/parse_makefile.t cvs rdiff -u -r1.3 -r1.4 pkgsrc/pkgtools/lintpkgsrc/files/t/packages.t \ pkgsrc/pkgtools/lintpkgsrc/files/t/pkgversion.t Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1659552717209540 Content-Disposition: inline Content-Length: 2576 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t diff -u pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t:1.2 pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t:1.3 --- pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t:1.2 Wed Aug 3 18:24:59 2022 +++ pkgsrc/pkgtools/lintpkgsrc/files/t/glob.t Wed Aug 3 18:51:56 2022 @@ -1,10 +1,10 @@ -# $NetBSD: glob.t,v 1.2 2022/08/03 18:24:59 rillig Exp $ +# $NetBSD: glob.t,v 1.3 2022/08/03 18:51:56 rillig Exp $ use strict; use warnings; use Test; -BEGIN { plan tests => 12; } +BEGIN { plan tests => 12, onfail => sub { die } } require('../lintpkgsrc.pl'); Index: pkgsrc/pkgtools/lintpkgsrc/files/t/parse_makefile.t diff -u pkgsrc/pkgtools/lintpkgsrc/files/t/parse_makefile.t:1.2 pkgsrc/pkgtools/lintpkgsrc/files/t/parse_makefile.t:1.3 --- pkgsrc/pkgtools/lintpkgsrc/files/t/parse_makefile.t:1.2 Wed Aug 3 18:24:59 2022 +++ pkgsrc/pkgtools/lintpkgsrc/files/t/parse_makefile.t Wed Aug 3 18:51:56 2022 @@ -1,4 +1,4 @@ -# $NetBSD: parse_makefile.t,v 1.2 2022/08/03 18:24:59 rillig Exp $ +# $NetBSD: parse_makefile.t,v 1.3 2022/08/03 18:51:56 rillig Exp $ use strict; use warnings; @@ -6,7 +6,7 @@ use File::Slurp; use File::Temp; use Test; -BEGIN { plan tests => 6; } +BEGIN { plan tests => 6, onfail => sub { die } } require('../lintpkgsrc.pl'); Index: pkgsrc/pkgtools/lintpkgsrc/files/t/packages.t diff -u pkgsrc/pkgtools/lintpkgsrc/files/t/packages.t:1.3 pkgsrc/pkgtools/lintpkgsrc/files/t/packages.t:1.4 --- pkgsrc/pkgtools/lintpkgsrc/files/t/packages.t:1.3 Wed Aug 3 18:24:59 2022 +++ pkgsrc/pkgtools/lintpkgsrc/files/t/packages.t Wed Aug 3 18:51:56 2022 @@ -1,11 +1,11 @@ -# $NetBSD: packages.t,v 1.3 2022/08/03 18:24:59 rillig Exp $ +# $NetBSD: packages.t,v 1.4 2022/08/03 18:51:56 rillig Exp $ use strict; use warnings; use Capture::Tiny 'capture'; use Test; -BEGIN { plan tests => 8; } +BEGIN { plan tests => 11, onfail => sub { die } } require('../lintpkgsrc.pl'); Index: pkgsrc/pkgtools/lintpkgsrc/files/t/pkgversion.t diff -u pkgsrc/pkgtools/lintpkgsrc/files/t/pkgversion.t:1.3 pkgsrc/pkgtools/lintpkgsrc/files/t/pkgversion.t:1.4 --- pkgsrc/pkgtools/lintpkgsrc/files/t/pkgversion.t:1.3 Wed Aug 3 16:15:49 2022 +++ pkgsrc/pkgtools/lintpkgsrc/files/t/pkgversion.t Wed Aug 3 18:51:56 2022 @@ -1,10 +1,10 @@ -# $NetBSD: pkgversion.t,v 1.3 2022/08/03 16:15:49 rillig Exp $ +# $NetBSD: pkgversion.t,v 1.4 2022/08/03 18:51:56 rillig Exp $ use strict; use warnings; use Test; -BEGIN { plan tests => 5; } +BEGIN { plan tests => 5, onfail => sub { die } } require('../lintpkgsrc.pl'); --_----------=_1659552717209540--