Subject: | Test not passed - The file './lib/Test/PerlTidy.pm' is not tidy |
Hi,
I cann't install Test::PerlTidy on Ubuntu and FreeBSD:
Checking if your kit is complete...
Looks good
Writing Makefile for Test::PerlTidy
cp lib/Test/PerlTidy.pm blib/lib/Test/PerlTidy.pm
Manifying blib/man3/Test::PerlTidy.3pm
EVDB/Test-PerlTidy-20070911.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/is_file_tidy.t .. ok
t/list_files.t .... ok
t/perltidy.t ...... 1/5 # The file './lib/Test/PerlTidy.pm' is not tidy
#
+---+--------------------------------------------------------------------------------+--------------------------------------------------------------------------------+
# | 60| # If there were perltidy errors report them and return.
| # If there were perltidy errors report them and
return. |
# | 61| if ($stderr) {
| if ($stderr) {
|
# | 62| $Test->diag("perltidy reported the following errors:\n")
unless $MUTE; | $Test->diag("perltidy reported the following
errors:\n") unless $MUTE; |
# * 63| $Test->diag($stderr)
unless $MUTE; | $Test->diag($stderr) unless $MUTE;
*
# | 64| return 0;
| return 0;
|
# | 65| }
| }
|
# | 66|
|
|
#
+---+--------------------------------------------------------------------------------+--------------------------------------------------------------------------------+
t/perltidy.t ...... 2/5
# Failed test ''./lib/Test/PerlTidy.pm''
# at t/perltidy.t line 5.
# The file './t/is_file_tidy.t' is not tidy
#
+---+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
# | 7|
|
|
# | 8|{
|{
|
# | 9| local ${Test::PerlTidy::MUTE} = 1;
| local ${Test::PerlTidy::MUTE} = 1;
|
# * 10| ok Test::PerlTidy::is_file_tidy('t/tidy_file'),
't/tidy_file'; | ok Test::PerlTidy::is_file_tidy('t/tidy_file'),
't/tidy_file'; *
# | 11| ok !Test::PerlTidy::is_file_tidy('t/messy_file'),
't/messy_file'; | ok !Test::PerlTidy::is_file_tidy('t/messy_file'),
't/messy_file'; |
# | 12|}
|}
|
#
+---+-----------------------------------------------------------------------+-----------------------------------------------------------------------+
# Failed test ''./t/is_file_tidy.t''
# at t/perltidy.t line 5.
# Looks like you failed 2 tests of 5.
t/perltidy.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
Test Summary Report
-------------------
t/perltidy.t (Wstat: 512 Tests: 5 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
Files=3, Tests=8, 1 wallclock secs ( 0.03 usr 0.00 sys + 1.03 cusr
0.04 csys = 1.10 CPU)
Result: FAIL
Failed 1/3 test programs. 2/8 subtests failed.
make: *** [test_dynamic] Error 2
EVDB/Test-PerlTidy-20070911.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports EVDB/Test-PerlTidy-20070911.tar.gz
Running make install
make test had returned bad status, won't install without force
1. Ubuntu:
uname -a
Linux host 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011
x86_64 GNU/Linux
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
(with 40 registered patches, see perl -V for more detail)
2. FreeBSD:
uname -a
FreeBSD 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Mon Feb 7 14:17:42
MSK 2011 i386
perl -v
This is perl, v5.10.1 (*) built for i386-freebsd-thread-multi-64int