Changeset 3314
- Timestamp:
- 03/13/09 03:40:16 (18 months ago)
- Location:
- trunk/Padre
- Files:
-
- 3 modified
-
Changes (modified) (1 diff)
-
Makefile.PL (modified) (1 diff)
-
t/00-compile.t (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/Changes
r3313 r3314 7 7 Eliminate a test failure on non-English locale. (SZABGAB) 8 8 Internal cleanups & documentation for configuration subsystem (JQUELIN) 9 Require Test::Most for the testing and bail_on compilation errors. (SZABGAB) 9 10 10 11 v0.28 2009.03.04 -
trunk/Padre/Makefile.PL
r3221 r3314 85 85 test_requires 'Test::Compile' => '0.08' unless win32; 86 86 test_requires 'Test::More' => '0.47'; 87 test_requires 'Test::Most' => '0.21'; 87 88 test_requires 'Test::Script' => '1.03'; 88 89 test_requires 'Test::Exception' => '0.27'; -
trunk/Padre/t/00-compile.t
r2875 r3314 1 1 use strict; 2 2 use warnings; 3 use Test::Mo re;3 use Test::Most; 4 4 BEGIN { 5 5 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { … … 10 10 11 11 #use Test::NeedsDisplay ':skip_all'; 12 bail_on_fail; 12 13 13 14 use File::Find::Rule; … … 26 27 $module =~ s/\.pm$//; 27 28 system "$^X -e \"require $module; print 'ok';\" > $out 2>$err"; 29 my $err_data = slurp($err); 30 is($err_data, '', "STDERR of $file"); 31 28 32 my $out_data = slurp($out); 29 33 is($out_data, 'ok', "STDOUT of $file"); 30 31 my $err_data = slurp($err);32 is($err_data, '', "STDERR of $file");33 34 } 34 35
