diff options
author | Chad Granum <chad.granum@dreamhost.com> | 2014-10-28 21:35:07 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-10-29 13:42:54 -0700 |
commit | 64f5fd40071356461be7824210bda1290becedd1 (patch) | |
tree | 399d963fc48da40c5e1ba5c77a2e9dea26f4346e /cpan/Test-Simple | |
parent | e91de6952da957444f7d7f3b0b610e96dd85e1fb (diff) | |
download | perl-64f5fd40071356461be7824210bda1290becedd1.tar.gz |
Update Test-Simple to alpha 065
This includes a patch from Father Chrysostomos which was already in
blead. An additional fix to some windows configs. And a version bump.
Diffstat (limited to 'cpan/Test-Simple')
-rw-r--r-- | cpan/Test-Simple/lib/Test/Builder.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test/Builder/Module.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test/Builder/Tester.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test/More.pm | 3 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test/Simple.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test/Stream.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test/Tester.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test/use/ok.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/ok.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/t/Legacy/exit.t | 4 |
11 files changed, 13 insertions, 12 deletions
diff --git a/cpan/Test-Simple/lib/Test/Builder.pm b/cpan/Test-Simple/lib/Test/Builder.pm index e7b5a9984b..54e392d4fa 100644 --- a/cpan/Test-Simple/lib/Test/Builder.pm +++ b/cpan/Test-Simple/lib/Test/Builder.pm @@ -4,7 +4,7 @@ use 5.008001; use strict; use warnings; -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) use Test::More::Tools; diff --git a/cpan/Test-Simple/lib/Test/Builder/Module.pm b/cpan/Test-Simple/lib/Test/Builder/Module.pm index 53a166a82e..d7936da8c8 100644 --- a/cpan/Test-Simple/lib/Test/Builder/Module.pm +++ b/cpan/Test-Simple/lib/Test/Builder/Module.pm @@ -7,7 +7,7 @@ use Test::Builder 0.99; require Exporter; our @ISA = qw(Exporter); -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) diff --git a/cpan/Test-Simple/lib/Test/Builder/Tester.pm b/cpan/Test-Simple/lib/Test/Builder/Tester.pm index 9219b226d0..ae98639198 100644 --- a/cpan/Test-Simple/lib/Test/Builder/Tester.pm +++ b/cpan/Test-Simple/lib/Test/Builder/Tester.pm @@ -1,7 +1,7 @@ package Test::Builder::Tester; use strict; -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) use Test::Builder 1.301001; diff --git a/cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm b/cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm index 63382008e1..c2055518b9 100644 --- a/cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm +++ b/cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm @@ -1,7 +1,7 @@ package Test::Builder::Tester::Color; use strict; -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) require Test::Builder::Tester; diff --git a/cpan/Test-Simple/lib/Test/More.pm b/cpan/Test-Simple/lib/Test/More.pm index 1b12ac0110..5aea2def76 100644 --- a/cpan/Test-Simple/lib/Test/More.pm +++ b/cpan/Test-Simple/lib/Test/More.pm @@ -4,7 +4,7 @@ use 5.008001; use strict; use warnings; -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) use Test::Stream::Carp qw/croak carp/; @@ -103,6 +103,7 @@ sub ok ($;$) { } sub plan { + return unless @_; my ($directive, $arg) = @_; my $ctx = context(); diff --git a/cpan/Test-Simple/lib/Test/Simple.pm b/cpan/Test-Simple/lib/Test/Simple.pm index 2b24453ed1..59c7a28c4e 100644 --- a/cpan/Test-Simple/lib/Test/Simple.pm +++ b/cpan/Test-Simple/lib/Test/Simple.pm @@ -5,7 +5,7 @@ use 5.008001; use strict; use warnings; -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) use Test::Stream '-internal'; diff --git a/cpan/Test-Simple/lib/Test/Stream.pm b/cpan/Test-Simple/lib/Test/Stream.pm index 816576b7b6..87aa059358 100644 --- a/cpan/Test-Simple/lib/Test/Stream.pm +++ b/cpan/Test-Simple/lib/Test/Stream.pm @@ -2,7 +2,7 @@ package Test::Stream; use strict; use warnings; -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) use Test::Stream::Threads; diff --git a/cpan/Test-Simple/lib/Test/Tester.pm b/cpan/Test-Simple/lib/Test/Tester.pm index 1e52c1a2f9..62a9001b9c 100644 --- a/cpan/Test-Simple/lib/Test/Tester.pm +++ b/cpan/Test-Simple/lib/Test/Tester.pm @@ -15,7 +15,7 @@ require Exporter; use vars qw( @ISA @EXPORT $VERSION ); -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) @EXPORT = qw( run_tests check_tests check_test cmp_results show_space ); diff --git a/cpan/Test-Simple/lib/Test/use/ok.pm b/cpan/Test-Simple/lib/Test/use/ok.pm index 68d6307234..26417bb1e0 100644 --- a/cpan/Test-Simple/lib/Test/use/ok.pm +++ b/cpan/Test-Simple/lib/Test/use/ok.pm @@ -3,7 +3,7 @@ use strict; use warnings; use 5.005; -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) 1; diff --git a/cpan/Test-Simple/lib/ok.pm b/cpan/Test-Simple/lib/ok.pm index 909b7c63e2..a8c8dc40f7 100644 --- a/cpan/Test-Simple/lib/ok.pm +++ b/cpan/Test-Simple/lib/ok.pm @@ -5,7 +5,7 @@ use warnings; use Test::More 1.301001 (); use Test::Stream::Carp qw/croak/; -our $VERSION = '1.301001_064'; +our $VERSION = '1.301001_065'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) sub import { diff --git a/cpan/Test-Simple/t/Legacy/exit.t b/cpan/Test-Simple/t/Legacy/exit.t index 8c9e16d162..ba29394fa2 100644 --- a/cpan/Test-Simple/t/Legacy/exit.t +++ b/cpan/Test-Simple/t/Legacy/exit.t @@ -61,7 +61,7 @@ END { 1 while unlink "exit_map_test" } for my $exit (0..255) { # This correctly emulates Test::Builder's behavior. - my $out = qx[$Perl exit_map_test $exit]; + my $out = qx["$Perl" exit_map_test $exit]; $TB->like( $out, qr/^exit $exit\n/, "exit map test for $exit" ); $Exit_Map{$exit} = exitstatus($?); } @@ -92,7 +92,7 @@ chdir 't'; my $lib = File::Spec->catdir(qw(lib Test Simple sample_tests)); while( my($test_name, $exit_code) = each %Tests ) { my $file = File::Spec->catfile($lib, $test_name); - my $wait_stat = system(qq{$Perl -"I../blib/lib" -"I../lib" -"I../t/lib" $file}); + my $wait_stat = system(qq{"$Perl" -"I../blib/lib" -"I../lib" -"I../t/lib" $file}); my $actual_exit = exitstatus($wait_stat); if( $exit_code eq 'not zero' ) { |