Test-Class - Problems building Test-Class on NetBSD

Posted on Sat Feb 4 02:10:09 2006 by btp
Problems building Test-Class on NetBSD
Hey, I've got an account on a NetBSD Alpha box, and I'm running into problems when I try to install Test-Class. I use this command:
perl -MCPAN -eshell install Test::Class
and, here's my failure:
cp lib/Test/Class.pod blib/lib/Test/Class.pod Manifying blib/man3/Test::Class.3 /usr/pkg/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'bl +ib/arch')" t/* .t t/_new.................ok t/bailout..............ok t/builder..............ok t/compile..............ok t/current_method.......ok t/die_before_plan......NOK 3# Test 3 got: "# Failed test 'setup (for test method 'test') died (di +ed before plan set)'" (t/die_before_plan.t at line 42 fail #3) # Expected: "# Failed test (t/die_before_plan.t at line 32)" # t/die_before_plan.t line 42 is: ok($actual, $expected); t/die_before_plan......NOK 4# Test 4 got: "# in t/die_before_plan.t at line 32." (t/die_before_pl +an.t at line 4 2 fail #4) # Expected: "ok 2 - test just here to get setup method run" Use of uninitialized value in scalar chomp at t/die_before_plan.t line 40, <DATA> line 4. Use of uninitialized value in substitution (s///) at t/die_before_plan.t line 41, <DATA> line 4. t/die_before_plan......NOK 5# Test 5 got: "ok 2 - test just here to get setup method run" (t/die_be +fore_plan.t at line 42 fail #5) # Expected: <UNDEF> t/die_before_plan......FAILED tests 3-5 Failed 3/4 tests, 25.00% okay t/documented...........skipped all skipped: Test::Pod::Coverage required t/expected_tests.......ok t/fail1................ok t/fail2................NOK 3# Test 3 got: "# Failed test 'The object isa Object'" (t/fail2.t at l +ine 47 fail #3 ) # Expected: "# Failed test (t/fail2.t at line 22)" # t/fail2.t line 47 is: ok($actual, $expected); t/fail2................NOK 4# Test 4 got: "# in t/fail2.t at line 22." (t/fail2.t at line 47 fail + #4) # Expected: "# The object isn't defined" t/fail2................NOK 5# Test 5 got: "# The object isn't defined" (t/fail2.t at line 47 fa +il #5) # Expected: "not ok 2 - cannot create Objects" t/fail2................NOK 6# Test 6 got: "not ok 2 - cannot create Objects" (t/fail2.t at line 47 +fail #6) # Expected: "# Failed test (t/fail2.t at line 22)" t/fail2................NOK 7# Test 7 got: "# Failed test 'cannot create Objects'" (t/fail2.t at l +ine 47 fail #7 ) # Expected: "not ok 3 - cannot create Objects" t/fail2................NOK 8# Test 8 got: "# in t/fail2.t at line 22." (t/fail2.t at line 47 fail + #8) # Expected: "# Failed test (t/fail2.t at line 22)" Use of uninitialized value in scalar chomp at t/fail2.t line 45, <DATA> line 8. Use of uninitialized value in substitution (s///) at t/fail2.t line 46, <DATA> line 8. t/fail2................NOK 9# Test 9 got: "not ok 3 - cannot create Objects" (t/fail2.t at line 47 +fail #9) # Expected: <UNDEF> Use of uninitialized value in scalar chomp at t/fail2.t line 45, <DATA> line 8. Use of uninitialized value in substitution (s///) at t/fail2.t line 46, <DATA> line 8. t/fail2................NOK 10# Test 10 got: "# Failed test 'cannot create Objects'" (t/fail2.t at + line 47 fail #10) # Expected: <UNDEF> Use of uninitialized value in scalar chomp at t/fail2.t line 45, <DATA> line 8. Use of uninitialized value in substitution (s///) at t/fail2.t line 46, <DATA> line 8. t/fail2................NOK 11# Test 11 got: "# in t/fail2.t at line 22." (t/fail2.t at line 47 fa +il #11) # Expected: <UNDEF> t/fail2................FAILED tests 3-12 Failed 10/9 tests, -11.11% okay
Any ideas?
Direct Responses: 1767 | 3187 | Write a response