Subject: | make test fails for t/040_circular_dependencies.t |
When installing Bread-Board-0.14 on Perl 5.12.1 the following test fails:
Running [/usr/bin/make test]...
PERL_DL_NONLAZY=1 /home/hermida/soft/perl/5.12.1/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib',
'blib/arch')" t/*.t
t/000_load.t ............................. ok
t/001_constructor_injection.t ............ ok
t/002_setter_injection.t ................. ok
t/003_block_injection.t .................. ok
t/004_block_injection_w_out_class.t ...... ok
t/010_container.t ........................ ok
t/011_container_path.t ................... ok
t/012_container_with_shared_deps.t ....... ok
t/020_sugar.t ............................ ok
t/021_sugar.t ............................ ok
t/022_sugar.t ............................ ok
t/023_sugar.t ............................ ok
t/024_sugar.t ............................ ok
t/025_sugar_w_absolute_path.t ............ ok
t/026_sugar_remove.t ..................... ok
t/027_sugar_w_include.t .................. ok
t/028_sugar_w_recursive_inc.t ............ ok
t/029_sugar_auto_wire_names.t ............ ok
t/030_lifecycle_singleton.t .............. ok
# Failed test '... our As match'
# at t/040_circular_dependencies.t line 85.
# An error occurred while using eq:
# ------------------------------------
# Could not find a method for overloaded 'eq' operator at
/home/hermida/.cpanplus/5.12.1/build/Bread-Board-0.14/blib/lib/Bread/Board/Service/Deferred.pm
line 34
# Bread::Board::Service::Deferred::__ANON__('Class::A=HASH(0x23349d0)',
'Class::A=HASH(0x23349d0)', '', 'eq') called at (eval in cmp_ok)
t/040_circular_dependencies.t line 85
# eval '
# #line 85 "(eval in cmp_ok) t/040_circular_dependencies.t"
# $got eq $expect;
#
# ;' called at /home/hermida/soft/perl/5.12.1/lib/5.12.1/Test/Builder.pm
line 1116
# Test::Builder::cmp_ok('Test::Builder=HASH(0x12db970)',
'Bread::Board::Service::Deferred=HASH(0x2337848)', 'eq',
'Class::A=HASH(0x23349d0)', '... our As match') called at
/home/hermida/soft/perl/5.12.1/lib/5.12.1/Test/Builder.pm line 948
# Test::Builder::is_eq('Test::Builder=HASH(0x12db970)',
'Bread::Board::Service::Deferred=HASH(0x2337848)',
'Class::A=HASH(0x23349d0)', '... our As match') called at
/home/hermida/soft/perl/5.12.1/lib/5.12.1/Test/More.pm line 372
# Test::More::is('Bread::Board::Service::Deferred=HASH(0x2337848)',
'Class::A=HASH(0x23349d0)', '... our As match') called at
t/040_circular_dependencies.t line 85
#
# ------------------------------------
# got: 'Class::A=HASH(0x23349d0)'
# expected: 'Class::A=HASH(0x23349d0)'
# Looks like you failed 1 test of 25.
t/040_circular_dependencies.t ............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/25 subtests
t/041_parameter_cache_handling.t ......... ok
t/042_parameter_cache_with_singleton.t ... ok
t/043_parameter_leaks.t .................. ok
t/044_deferred_parameters.t .............. ok
t/050_parameterized_containers.t ......... ok
t/051_more_parameterized_containers.t .... ok
t/052_parameterized_in_heirarchy.t ....... ok
t/060_extend_w_sugar.t ................... ok
t/061_extends_w_sugar_and_inheritance.t .. ok
t/100_clone_w_constructor_injection.t .... ok
t/101_clone_w_setter_injection.t ......... ok
t/102_clone_w_block_injection.t .......... ok
t/110_clone_w_singleton.t ................ ok
t/200_example_code.t ..................... ok
t/201_log_dispatch_example.t ............. ok
t/202_form_sensible_example.t ............ skipped: This test requires
Form::Sensible 0.11220 to be installed
Test Summary Report
-------------------
t/040_circular_dependencies.t (Wstat: 256 Tests: 25 Failed: 1)
Failed test: 10
Non-zero exit status: 1
Files=36, Tests=529, 15 wallclock secs ( 0.14 usr 0.06 sys + 13.78 cusr
0.78 csys = 14.76 CPU)
Result: FAIL
Failed 1/36 test programs. 1/529 subtests failed.
make: *** [test_dynamic] Error 255
perl -v
This is perl 5, version 12, subversion 1 (v5.12.1) built for
x86_64-linux-thread-multi
uname -a
Linux 2.6.34.6-47.fc13.x86_64 #1 SMP Fri Aug 27 08:56:01 UTC 2010 x86_64
x86_64 x86_64 GNU/Linux