pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/lintpkgsrc/files/t
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.
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');
Home |
Main Index |
Thread Index |
Old Index