Skip Menu |

This queue is for tickets about the Test-UniqueTestNames CPAN distribution.

Report information
The Basics
Id: 93981
Status: new
Priority: 0/
Queue: Test-UniqueTestNames

People
Owner: Nobody in particular
Requestors: SHLOMIF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/multiple_isa_oks.t Started failing.
Hi Josh, running ./Build test on Mageia Linux x86-64 5 Cauldron with perl-5.18.2-4.mga5 and Test::More 1.001002 is failing here. Here is the output. Can you look into fixing it? Regards, -- Shlomi Fish shlomif@telaviv1:~/Test-UniqueTestNames-0.04$ perl Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Test-UniqueTestNames' version '0.04' shlomif@telaviv1:~/Test-UniqueTestNames-0.04$ ./Build Building Test-UniqueTestNames shlomif@telaviv1:~/Test-UniqueTestNames-0.04$ ./Build test t/loop.t ....................... ok t/many_duplicates.t ............ ok t/many_many_duplicates.t ....... ok t/multiple_isa_oks.t ........... 1/3 # Failed test 'passes when there are multiple isa_oks, since isa_ok creates its own test name' # at /usr/lib/perl5/vendor_perl/5.18.2/Test/Builder/Tester.pm line 338. # STDOUT is: # ok 1 - An object of class 'Foo' isa 'Foo' # ok 2 - An object of class 'Foo' isa 'Foo' # ok 3 - An object of class 'Foo' isa 'Foo' # not ok 4 - all test names unique # # not: # ok 1 - The object isa Foo # ok 2 - The object isa Foo # ok 3 - The object isa Foo # ok 4 - all test names unique # # as expected # STDERR is: # # Failed test 'all test names unique' # # at lib/Test/UniqueTestNames.pm line 156. # # The following 1 test name(s) were not unique: # # Test Name Occurrences Line(s) # # ---------------------------------------------------------------- # # An object of class 'Foo' isa 'Foo' 3 21 (3 times) # # not: # # as expected t/multiple_isa_oks.t ........... Failed 1/3 subtests t/multiple_nameless.t .......... ok t/nameless.t ................... ok t/no_duplicates.t .............. ok t/no_tests.t ................... ok t/no_warnings.t ................ ok t/one_duplicate.t .............. ok t/one_duplicate_three_times.t .. ok t/test_object.t ................ 1/37 # Creating a new isa_ok test with multiple lines # Creating a new test with no name t/test_object.t ................ ok t/tracker.t .................... 1/19 # Adding another failing test with a lower line number # Adding a test with no name t/tracker.t .................... ok t/unnamed_ok.t ................. ok Test Summary Report ------------------- t/multiple_isa_oks.t (Wstat: 0 Tests: 3 Failed: 1) Failed test: 2 t/no_warnings.t (Wstat: 0 Tests: 1 Failed: 0) TODO passed: 1 Files=14, Tests=91, 0 wallclock secs ( 0.08 usr 0.02 sys + 0.47 cusr 0.07 csys = 0.64 CPU) Result: FAIL Failed 1/14 test programs. 1/91 subtests failed.