11
0

37 Commits

Author SHA256 Message Date
2c9c9758a0 Accepting request 1271573 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1271573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=11
2025-04-23 13:18:12 +00:00
0e52a514ee Accepting request 1102467 from devel:languages:perl
- Add test-perl-5.38.patch: Don't simultaneously test -c and -v
  switches. Patch based on
https://patch-diff.githubusercontent.com/raw/manwar/Test-Strict/pull/33.patch.

OBS-URL: https://build.opensuse.org/request/show/1102467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=10
2023-08-07 13:28:38 +00:00
34de2af111 refresh spec with cpanspec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=35
2023-08-05 11:49:58 +00:00
22169f1a80 Accepting request 1102308 from home:dimstar:Factory
- Add test-perl-5.38.patch: Don't simultaneously test -c and -v
  switches. Patch based on
https://patch-diff.githubusercontent.com/raw/manwar/Test-Strict/pull/33.patch.

OBS-URL: https://build.opensuse.org/request/show/1102308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=34
2023-08-05 11:46:34 +00:00
38c9325aa0 Accepting request 710545 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/710545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=9
2019-06-18 12:54:59 +00:00
a2113e7def Accepting request 710452 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/710452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=32
2019-06-18 11:20:11 +00:00
Lars Vogdt
d6fa9b5dbb Accepting request 710145 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/710145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=31
2019-06-17 05:46:09 +00:00
Lars Vogdt
a824406a29 Accepting request 710036 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/710036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=30
2019-06-15 15:02:01 +00:00
a42c115e99 Accepting request 709832 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/709832
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=29
2019-06-14 08:56:37 +00:00
f60ca82376 Accepting request 707083 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/707083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=8
2019-06-04 10:11:11 +00:00
e59584ccfc Accepting request 706425 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/706425
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=27
2019-06-03 08:44:10 +00:00
fcd3e13ba5 Accepting request 624681 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/624681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=7
2018-07-27 08:52:27 +00:00
Stephan Kulow
b44d1687d8 Accepting request 623231 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/623231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=25
2018-07-23 08:55:26 +00:00
4e3cd71b2b Accepting request 623042 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/623042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=6
2018-07-18 20:37:56 +00:00
Stephan Kulow
172814c61a Accepting request 621425 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/621425
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=23
2018-07-16 06:46:22 +00:00
aaf183ae0e Accepting request 579896 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/579896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=5
2018-02-26 22:23:16 +00:00
Stephan Kulow
9f4805fa73 Accepting request 579894 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/579894
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=21
2018-02-25 09:12:52 +00:00
Stephan Kulow
3537b01e00 Accepting request 578607 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/578607
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=20
2018-02-24 07:03:56 +00:00
a43f1e20e4 Accepting request 577186 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/577186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=4
2018-02-18 10:38:54 +00:00
Stephan Kulow
6c3e3f74e3 Accepting request 575765 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/575765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=18
2018-02-16 08:48:31 +00:00
66bdfade47 Accepting request 554824 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/554824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=3
2018-01-09 13:50:23 +00:00
59c37e92d2 Accepting request 546593 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/546593
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=16
2017-12-06 14:38:32 +00:00
2a80aefabf Accepting request 443514 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/443514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=2
2016-12-03 17:28:18 +00:00
Stephan Kulow
895d0c3241 Accepting request 443510 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/443510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=14
2016-12-03 07:49:26 +00:00
84fe605c9b Accepting request 423516 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/423516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Strict?expand=0&rev=1
2016-10-13 09:27:42 +00:00
Stephan Kulow
98c27db101 Accepting request 401447 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/401447
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=12
2016-06-12 14:21:35 +00:00
Stephan Kulow
e6d7ee76da Accepting request 354752 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/354752
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=11
2016-01-19 15:28:51 +00:00
ee3c30ce0c Accepting request 344456 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/344456
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=10
2015-11-15 13:22:51 +00:00
Stephan Kulow
01c18ff32c Accepting request 344350 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/344350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=9
2015-11-14 10:54:36 +00:00
deedda920e Accepting request 343372 from devel:languages:perl:autoupdate
- updated to 0.32
   see /usr/share/doc/packages/perl-Test-Strict/Changes
  0.32 2015-11-03 10:10:00 MANWAR
  - Added LICENSE file.
  - Added standard unit test script (t/00-load.t).

OBS-URL: https://build.opensuse.org/request/show/343372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=8
2015-11-10 14:01:22 +00:00
b057f3c0b3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=7 2015-10-29 11:34:53 +00:00
f49b565330 Accepting request 341476 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/341476
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=6
2015-10-29 11:33:56 +00:00
Stephan Kulow
137dc683d8 Accepting request 340731 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/340731
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=5
2015-10-24 14:18:41 +00:00
d543cf424c OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=4 2015-10-23 19:19:06 +00:00
34a2e0ea54 Accepting request 336264 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/336264
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=3
2015-10-04 09:51:34 +00:00
Stephan Kulow
41371fda6a Accepting request 297353 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/297353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=2
2015-04-16 20:15:38 +00:00
Stephan Kulow
cdfcab28be initial package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Strict?expand=0&rev=1
2011-05-01 10:35:25 +00:00
2 changed files with 0 additions and 111 deletions

BIN
Test-Strict-0.52.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,108 +0,0 @@
From 8cc3a355b90db21b76374d3b563df3628b31d58c Mon Sep 17 00:00:00 2001
From: James E Keenan <jkeenan@cpan.org>
Date: Sat, 14 Jan 2023 22:42:22 +0000
Subject: [PATCH] Don't simultaneously test -c and -v switches
Up through perl-5.37.3, there was a bug in perl (see
https://github.com/Perl/perl5/issues/20252#issuecomment-1236880872)
which permitted simultaneous use of the '-c' and '-v' switches to the
perl interpreter. Once this bug was corrected, t/01all.t began to fail.
As Test::Strict has many CPAN distributions depending on it, this test
failure has had wide impact.
This pull request modifies tests appropriately and has been tested on
bleadperl (v5.37.7-134-g25948dfb24) and on perl-5.32.1, in both cases on
threaded builds on FreeBSD-12. Devel::Cover was not installed on
bleadperl, hence t/04cover.t was skipped on that build. Otherwise, all
tests are passing. In the course of testing, certain additions were
made to .gitignore and MANIFEST.SKIP to get metadata-oriented tests to
pass.
NOTE: In my git checkout I find the following file:
.git/hooksfsmonitor-watchman.sample
This is deemed by 'file' to be a Perl executable. As such, it is pushed
onto the list of files tested by 'all_perl_files_ok()' at the start of
t/01all.t. This in turn means that in my 'git checkout' the count of
tests is off by 2 and the test is reported to fail.
"Looks like you planned 59 tests but ran 61."
Because the files in .git/hooks/ should not be included in the tarball,
the count of tests is correct when run from the tarball. I leave to the
maintainer to determine how to square this circle. You should probably
check for the presence of a .git/ directory and exclude that directory
from the list of directories passed to all_perl_files_ok().
For https://github.com/manwar/Test-Strict/issues/32
---
.gitignore | 2 ++
MANIFEST.SKIP | 5 +++--
t/01all.t | 4 +---
t/02fail.t | 3 +--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index 6dd7c05..03e0675 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -1,4 +1,5 @@
-^\.git
+\.gitignore
+\.git/
maint
^tags$
.last_cover_stats
@@ -8,7 +9,7 @@ Makefile$
^.*.bak
^.*.old
^t.*sessions
-^cover_db
+cover_db/
^.*\.log
^.*\.swp$
^.*~$
diff --git a/t/01all.t b/t/01all.t
index 6ff9f23..569354d 100644
--- a/t/01all.t
+++ b/t/01all.t
@@ -125,8 +125,6 @@ subtest perl_v5_12 => sub {
strict_ok($filename);
};
-exit;
-
{
my %data;
sub make_file {
@@ -172,7 +170,7 @@ sub make_warning_files {
my ($fh2, $filename2) = tempfile( DIR => $tmpdir, SUFFIX => '.pl' );
print $fh2 <<'DUMMY';
-#!/usr/bin/perl -vw
+#!/usr/bin/perl -w
use strict;
print "Hello world";
diff --git a/t/02fail.t b/t/02fail.t
index d4729cc..b0c8493 100644
--- a/t/02fail.t
+++ b/t/02fail.t
@@ -40,7 +40,6 @@ TODO: {
ok !Test::Strict::_strict_ok($fh1), 'use strict in print';
}
-exit;
sub test1 {
@@ -199,7 +198,7 @@ DUMMY
my ($fh2, $filename2) = tempfile( DIR => $tmpdir, SUFFIX => '.pl' );
print $fh2 <<'DUMMY';
-#!/usr/bin/perl -vw
+#!/usr/bin/perl -w
use strict;
print "Hello world";