pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files/t lint: fail if one of the t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/baba53307ab4
branches: trunk
changeset: 382718:baba53307ab4
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Aug 03 18:51:56 2022 +0000
description:
lint: fail if one of the tests fails
diffstat:
pkgtools/lintpkgsrc/files/t/glob.t | 4 ++--
pkgtools/lintpkgsrc/files/t/packages.t | 4 ++--
pkgtools/lintpkgsrc/files/t/parse_makefile.t | 4 ++--
pkgtools/lintpkgsrc/files/t/pkgversion.t | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diffs (67 lines):
diff -r 61f927c60107 -r baba53307ab4 pkgtools/lintpkgsrc/files/t/glob.t
--- a/pkgtools/lintpkgsrc/files/t/glob.t Wed Aug 03 18:24:59 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/t/glob.t Wed Aug 03 18:51:56 2022 +0000
@@ -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');
diff -r 61f927c60107 -r baba53307ab4 pkgtools/lintpkgsrc/files/t/packages.t
--- a/pkgtools/lintpkgsrc/files/t/packages.t Wed Aug 03 18:24:59 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/t/packages.t Wed Aug 03 18:51:56 2022 +0000
@@ -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');
diff -r 61f927c60107 -r baba53307ab4 pkgtools/lintpkgsrc/files/t/parse_makefile.t
--- a/pkgtools/lintpkgsrc/files/t/parse_makefile.t Wed Aug 03 18:24:59 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/t/parse_makefile.t Wed Aug 03 18:51:56 2022 +0000
@@ -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::Temp;
use Test;
-BEGIN { plan tests => 6; }
+BEGIN { plan tests => 6, onfail => sub { die } }
require('../lintpkgsrc.pl');
diff -r 61f927c60107 -r baba53307ab4 pkgtools/lintpkgsrc/files/t/pkgversion.t
--- a/pkgtools/lintpkgsrc/files/t/pkgversion.t Wed Aug 03 18:24:59 2022 +0000
+++ b/pkgtools/lintpkgsrc/files/t/pkgversion.t Wed Aug 03 18:51:56 2022 +0000
@@ -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');
Home |
Main Index |
Thread Index |
Old Index