Compare commits
No commits in common. "master" and "upstream" have entirely different histories.
54
debian/changelog
vendored
54
debian/changelog
vendored
@ -1,54 +0,0 @@
|
|||||||
libtest-simpleunit-perl (1.21-5) unstable; urgency=low
|
|
||||||
|
|
||||||
[ Ansgar Burchardt ]
|
|
||||||
* debian/control: Convert Vcs-* fields to Git.
|
|
||||||
|
|
||||||
[ gregor herrmann ]
|
|
||||||
* Switch to source format 3.0 (quilt).
|
|
||||||
* Add patch perl_re.patch: adjust regexp to work with older and newer
|
|
||||||
perl versions. (Closes: #636522)
|
|
||||||
* Update to debhelper (compat level) 8, use tiny debian/rules.
|
|
||||||
* debian/copyright: reformat according to current DEP5 draft.
|
|
||||||
* Set Standards-Version to 3.9.2, drop version from perl build
|
|
||||||
dependency.
|
|
||||||
* Add /me to Uploaders.
|
|
||||||
* Improve short and long description a bit.
|
|
||||||
* Add a patch to fix a spelling mistake.
|
|
||||||
|
|
||||||
-- gregor herrmann <gregoa@debian.org> Tue, 15 Nov 2011 20:00:23 +0100
|
|
||||||
|
|
||||||
libtest-simpleunit-perl (1.21-4) unstable; urgency=low
|
|
||||||
|
|
||||||
[ Nathan Handler ]
|
|
||||||
* debian/watch: Update to ignore development releases.
|
|
||||||
|
|
||||||
[ gregor herrmann ]
|
|
||||||
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
|
|
||||||
(source stanza).
|
|
||||||
|
|
||||||
[ Christoph Berg ]
|
|
||||||
* Remove myself from Uploaders.
|
|
||||||
* Remove stray 12testdata.1767 file from package.
|
|
||||||
|
|
||||||
-- Christoph Berg <myon@debian.org> Wed, 09 Dec 2009 14:33:14 +0100
|
|
||||||
|
|
||||||
libtest-simpleunit-perl (1.21-3) unstable; urgency=low
|
|
||||||
|
|
||||||
* Set Maintainer to Debian Perl Group.
|
|
||||||
* Add libextutils-autoinstall-perl to Build-Depends-Indep.
|
|
||||||
|
|
||||||
-- Christoph Berg <myon@debian.org> Tue, 26 May 2009 13:24:00 +0200
|
|
||||||
|
|
||||||
libtest-simpleunit-perl (1.21-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Fix missing build dependency (Closes: #489115)
|
|
||||||
* Updated Standards version, no changes needed.
|
|
||||||
* Fix copyright-contains-dh-make-perl-boilerplate.
|
|
||||||
|
|
||||||
-- Martin Zobel-Helas <zobel@debian.org> Sun, 06 Jul 2008 12:39:04 +0200
|
|
||||||
|
|
||||||
libtest-simpleunit-perl (1.21-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Initial Release.
|
|
||||||
|
|
||||||
-- Martin Zobel-Helas <zobel@debian.org> Thu, 19 Jun 2008 17:20:32 +0200
|
|
1
debian/compat
vendored
1
debian/compat
vendored
@ -1 +0,0 @@
|
|||||||
8
|
|
22
debian/control
vendored
22
debian/control
vendored
@ -1,22 +0,0 @@
|
|||||||
Source: libtest-simpleunit-perl
|
|
||||||
Section: perl
|
|
||||||
Priority: optional
|
|
||||||
Build-Depends: debhelper (>= 8)
|
|
||||||
Build-Depends-Indep: perl,
|
|
||||||
libdata-compare-perl,
|
|
||||||
libextutils-autoinstall-perl
|
|
||||||
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
|
|
||||||
Uploaders: Martin Zobel-Helas <zobel@debian.org>,
|
|
||||||
gregor herrmann <gregoa@debian.org>
|
|
||||||
Standards-Version: 3.9.2
|
|
||||||
Homepage: http://search.cpan.org/dist/Test-SimpleUnit/
|
|
||||||
Vcs-Git: git://git.debian.org/pkg-perl/packages/libtest-simpleunit-perl.git
|
|
||||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-simpleunit-perl.git
|
|
||||||
|
|
||||||
Package: libtest-simpleunit-perl
|
|
||||||
Architecture: all
|
|
||||||
Depends: ${perl:Depends}, ${misc:Depends},
|
|
||||||
libdata-compare-perl
|
|
||||||
Description: simplified Perl unit-testing framework
|
|
||||||
Test::SimpleUnit is a simplified Perl unit-testing framework for creating
|
|
||||||
unit tests to be run either standalone or under Test::Harness.
|
|
31
debian/copyright
vendored
31
debian/copyright
vendored
@ -1,31 +0,0 @@
|
|||||||
Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135
|
|
||||||
Maintainer: Michael Granger <ged@FaerieMUD.org>
|
|
||||||
Source: http://search.cpan.org/dist/Test-SimpleUnit/
|
|
||||||
Name: Test-SimpleUnit
|
|
||||||
|
|
||||||
Files: *
|
|
||||||
Copyright: 1999-2003, The FaerieMUD Consortium
|
|
||||||
License: Artistic or GPL-2+
|
|
||||||
|
|
||||||
Files: debian/*
|
|
||||||
Copyright: 2008, Martin Zobel-Helas <zobel@debian.org>
|
|
||||||
2009, Christoph Berg <myon@debian.org>
|
|
||||||
2011, Ansgar Burchardt <ansgar@debian.org>
|
|
||||||
2011, gregor herrmann <gregoa@debian.org>
|
|
||||||
License: Artistic or GPL-2+
|
|
||||||
|
|
||||||
License: Artistic
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the Artistic License, which comes with Perl.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of the Artistic License can be
|
|
||||||
found in `/usr/share/common-licenses/Artistic'.
|
|
||||||
|
|
||||||
License: GPL-2+
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
any later version.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of version 2 of the GNU General
|
|
||||||
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
|
1
debian/libtest-simpleunit-perl.docs
vendored
1
debian/libtest-simpleunit-perl.docs
vendored
@ -1 +0,0 @@
|
|||||||
README
|
|
16
debian/patches/perl5.18-re-a-mod.patch
vendored
16
debian/patches/perl5.18-re-a-mod.patch
vendored
@ -1,16 +0,0 @@
|
|||||||
Description: Fix m//and constuct, invalid with perl 5.18
|
|
||||||
Author: Damyan Ivanov <dmn@debian.org>
|
|
||||||
Origin: vendor
|
|
||||||
Bug-Debian: http://bugs.debian.org/711617
|
|
||||||
|
|
||||||
--- a/Makefile.PL
|
|
||||||
+++ b/Makefile.PL
|
|
||||||
@@ -19,7 +19,7 @@
|
|
||||||
# ExtUtils::AutoInstall Bootstrap Code, version 5.
|
|
||||||
BEGIN{my$p='ExtUtils::AutoInstall';my$v=0.40;eval"use $p $v;1
|
|
||||||
"or do{my$e=$ENV{PERL_EXTUTILS_AUTOINSTALL};(!defined($e)||$e
|
|
||||||
-!~m/--(?:default|skip|testonly)/and-t STDIN or eval"use Ext".
|
|
||||||
+!~m/--(?:default|skip|testonly)/ and -t STDIN or eval"use Ext".
|
|
||||||
"Utils::MakeMaker;WriteMakefile('PREREQ_PM'=>{'$p',$v});1"and
|
|
||||||
exit)and print"==> $p $v required. Install it from CPAN? [Y".
|
|
||||||
"/n] "and<STDIN>!~/^n/i and print"*** Installing $p\n"and do{
|
|
53
debian/patches/perl_re.patch
vendored
53
debian/patches/perl_re.patch
vendored
@ -1,53 +0,0 @@
|
|||||||
Description: Adjust extended regexp to perl 5.14
|
|
||||||
Cf. http://search.cpan.org/~jesse/perl-5.14.0/pod/perldelta.pod#%28?^...%29_construct_signifies_default_modifiers
|
|
||||||
Origin: vendor
|
|
||||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=72449
|
|
||||||
Bug-Debian: http://bugs.debian.org/636522
|
|
||||||
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=72449
|
|
||||||
Author: gregor herrmann <gregoa@debian.org>
|
|
||||||
Reviewed-by: gregor herrmann <gregoa@debian.org>
|
|
||||||
Last-Update: 2011-11-15
|
|
||||||
|
|
||||||
--- a/t/10_asserts.t
|
|
||||||
+++ b/t/10_asserts.t
|
|
||||||
@@ -201,10 +201,17 @@
|
|
||||||
# assertExceptionMatches { 1 } 'any'
|
|
||||||
eval { assertExceptionMatches {1} qr{any} };
|
|
||||||
die "assertExceptionMatches unexpectedly succeeded" unless $@;
|
|
||||||
- die "Unexpected error message for assertExceptionMatches {1} qr{any}: $@ ",
|
|
||||||
- "(expected 'Expected an exception which matched /(?-xism:any)/, but none ",
|
|
||||||
- "was raised.')"
|
|
||||||
- unless "$@" =~ m{Expected an exception which matched \Q/(?-xism:any)/\E, but none was raised\.};
|
|
||||||
+ if ( $] >= 5.014 ) {
|
|
||||||
+ die "Unexpected error message for assertExceptionMatches {1} qr{any}: $@ ",
|
|
||||||
+ "(expected 'Expected an exception which matched /(?^:any)/, but none ",
|
|
||||||
+ "was raised.')"
|
|
||||||
+ unless "$@" =~ m{Expected an exception which matched \Q/(?^:any)/\E, but none was raised\.};
|
|
||||||
+ } else {
|
|
||||||
+ die "Unexpected error message for assertExceptionMatches {1} qr{any}: $@ ",
|
|
||||||
+ "(expected 'Expected an exception which matched /(?-xism:any)/, but none ",
|
|
||||||
+ "was raised.')"
|
|
||||||
+ unless "$@" =~ m{Expected an exception which matched \Q/(?-xism:any)/\E, but none was raised\.};
|
|
||||||
+ }
|
|
||||||
|
|
||||||
# assertExceptionMatches { 1 } 'any', $msg
|
|
||||||
eval { assertExceptionMatches {1} 'any', "Ack! No exception?"; };
|
|
||||||
@@ -307,9 +314,15 @@
|
|
||||||
undef $res;
|
|
||||||
|
|
||||||
# assertMatches( qr{\s+}, 1 )
|
|
||||||
- assertExceptionMatches {
|
|
||||||
- $res = assertMatches( qr{\s+}, 1 )
|
|
||||||
- } qr{Tested value '1' did not match wanted regex '\Q(?-xism:\s+)\E};
|
|
||||||
+ if ( $] >= 5.014 ) {
|
|
||||||
+ assertExceptionMatches {
|
|
||||||
+ $res = assertMatches( qr{\s+}, 1 )
|
|
||||||
+ } qr{Tested value '1' did not match wanted regex '\Q(?^:\s+)\E};
|
|
||||||
+ } else {
|
|
||||||
+ assertExceptionMatches {
|
|
||||||
+ $res = assertMatches( qr{\s+}, 1 )
|
|
||||||
+ } qr{Tested value '1' did not match wanted regex '\Q(?-xism:\s+)\E};
|
|
||||||
+ }
|
|
||||||
assertNot( $res );
|
|
||||||
undef $res;
|
|
||||||
},
|
|
3
debian/patches/series
vendored
3
debian/patches/series
vendored
@ -1,3 +0,0 @@
|
|||||||
perl_re.patch
|
|
||||||
spelling.patch
|
|
||||||
perl5.18-re-a-mod.patch
|
|
29
debian/patches/spelling.patch
vendored
29
debian/patches/spelling.patch
vendored
@ -1,29 +0,0 @@
|
|||||||
Description: minor spelling fix
|
|
||||||
Origin: vendor
|
|
||||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=72450
|
|
||||||
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=72450
|
|
||||||
Author: gregor herrmann <gregoa@debian.org>
|
|
||||||
Last-Update: 2011-11-15
|
|
||||||
|
|
||||||
--- a/README
|
|
||||||
+++ b/README
|
|
||||||
@@ -73,7 +73,7 @@
|
|
||||||
allows a test designer to change the setup function as the tests progress. See
|
|
||||||
the EXAMPLE section for an example of how to use this.
|
|
||||||
|
|
||||||
- If a test is preceeded by multiple new setup/teardown functions, the last one
|
|
||||||
+ If a test is preceded by multiple new setup/teardown functions, the last one
|
|
||||||
to be specified is kept, and any others are discarded after being executed
|
|
||||||
once. This allows one to specify one-time setup and/or teardown functions at a
|
|
||||||
given point of testing.
|
|
||||||
--- a/lib/Test/SimpleUnit.pm
|
|
||||||
+++ b/lib/Test/SimpleUnit.pm
|
|
||||||
@@ -171,7 +171,7 @@
|
|
||||||
allows a test designer to change the setup function as the tests progress. See
|
|
||||||
the L<EXAMPLE|"EXAMPLE"> section for an example of how to use this.
|
|
||||||
|
|
||||||
-If a test is preceeded by multiple new setup/teardown functions, the last one to
|
|
||||||
+If a test is preceded by multiple new setup/teardown functions, the last one to
|
|
||||||
be specified is kept, and any others are discarded after being executed
|
|
||||||
once. This allows one to specify one-time setup and/or teardown functions at a
|
|
||||||
given point of testing.
|
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/make -f
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@
|
|
1
debian/source/format
vendored
1
debian/source/format
vendored
@ -1 +0,0 @@
|
|||||||
3.0 (quilt)
|
|
4
debian/watch
vendored
4
debian/watch
vendored
@ -1,4 +0,0 @@
|
|||||||
# format version number, currently 3; this line is compulsory!
|
|
||||||
version=3
|
|
||||||
# URL to the package page followed by a regex to search
|
|
||||||
http://search.cpan.org/dist/Test-SimpleUnit/ .*/Test-SimpleUnit-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
|
|
Loading…
Reference in New Issue
Block a user