--state breaks refactoring

Andy Armstrong andy at hexten.net
Wed Dec 19 09:27:10 EST 2007


On 19 Dec 2007, at 14:24, Ovid wrote:

> --- Andy Armstrong <andy at hexten.net> wrote:
>
>>> Ah, that seems to work (though it fails with -j9 :)
>>
>> Hmm. Any idea why?
>
> I don't have time to look into this right now, but here's my  
> scrollback
> buffer.

Oh I see - I thought you meant *your* tests failed. I think I know  
what's up with that test - willfix.

>
>
> Cheers,
> Ovid
>
> $ prove --state=hot,slow,save -j9 -r t
> t/compat/nonumbers................ ok
> ===(      64
> )==========================================================
> #   Failed test 'old: order OK'
> #   at t/state.t line 167.
> #     Structures begin differing at:
> #          $got->[0] = 't/compat/env.t'
> #     $expected->[0] = 't/source.t'
> # $VAR1 = {
> #           'want' => [
> #                       't/source.t',
> #                       't/compat/inc_taint.t',
> #                       't/compat/version.t',
> #                       't/yamlish-writer.t',
> #                       't/compat/failure.t',
> #                       't/compat/env.t'
> #                     ],
> #           'got' => [
> #                      't/compat/env.t',
> #                      't/compat/failure.t',
> #                      't/compat/inc_taint.t',
> #                      't/compat/version.t',
> #                      't/source.t',
> #                      't/yamlish-writer.t'
> #                    ]
> #         };
>
> #   Failed test 'new: order OK'
> #   at t/state.t line 167.
> #     Structures begin differing at:
> #          $got->[0] = 't/source.t'
> #     $expected->[0] = 't/compat/env.t'
> # $VAR1 = {
> #           'want' => [
> #                       't/compat/env.t',
> #                       't/compat/failure.t',
> #                       't/yamlish-writer.t',
> #                       't/compat/version.t',
> #                       't/compat/inc_taint.t',
> #                       't/source.t'
> #                     ],
> #           'got' => [
> #                      't/source.t',
> #                      't/yamlish-writer.t',
> #                      't/compat/inc_taint.t',
> #                      't/compat/version.t',
> #                      't/compat/env.t',
> #                      't/compat/failure.t'
> #                    ]
> #         };
> # Looks like you failed 2 tests of 26.
> t/state...........................  Dubious, test returned 2 (wstat
> 512, 0x200)
> Failed 2/26 subtests
> t/bailout......................... ok
> t/console......................... ok
> t/yamlish-output.................. ok
> t/premature-bailout............... ok
> t/base............................ ok
> t/streams......................... ok
> t/spool........................... ok
> t/errors.......................... ok
> t/aggregator...................... ok
> t/grammar......................... ok
> t/yamlish......................... ok
> t/results......................... ok
> t/yamlish-writer.................. ok
> t/compat/version.................. ok
> ===(     942
> )==========================================================
> #   Failed test '... and the failure summary should also be correct'
> #   at t/harness.t line 279.
> #     Structures begin differing at:
> #          $got->[7] = 'Failed test number(s):'
> #     $expected->[7] = 'Failed test:'
>
> #   Failed test '... and failing test output should be correct'
> #   at t/harness.t line 302.
> #     Structures begin differing at:
> #          $got->[5] = 'Failed test number(s):'
> #     $expected->[5] = 'Failed test:'
>
> #   Failed test '... and failing test output should be correct'
> #   at t/harness.t line 323.
> #     Structures begin differing at:
> #          $got->[3] = 'Failed test number(s):'
> #     $expected->[3] = 'Failed test:'
> t/proverun........................ ok
> t/callbacks....................... ok
> t/unicode......................... ok
> t/compat/failure.................. ok
> t/proverc......................... ok
> t/testargs........................ ok
> t/nofork.......................... ok
> t/compat/regression............... ok
> ===(    1151
> )==========================================================
> #   Failed test '... and the badtap summary should also be correct'
> #   at t/harness.t line 429.
> #     Structures begin differing at:
> #          $got->[7] = 'Failed test number(s):'
> #     $expected->[7] = 'Failed test:'
>
> #   Failed test '... and the output should be correct'
> #   at t/harness.t line 465.
> #     Structures begin differing at:
> #          $got->[6] = 'Failed test number(s):'
> #     $expected->[6] = 'Failed test:'
> # Looks like you failed 5 tests of 106.
> t/harness.........................  Dubious, test returned 5 (wstat
> 1280, 0x500)
> Failed 5/106 subtests
> ===(    1165
> )==========================================================# Testing
> Test::Harness 3.05, Perl 5.008008, /opt/csw/bin/perl
> t/000-load........................ ok
> t/compat/inc_taint................ ok
> t/source.......................... ok
> t/parse........................... ok
> t/compat/env...................... ok
> t/taint........................... ok
> t/multiplexer..................... ok
> t/iterators....................... ok
> t/compat/inc-propagation.......... ok
> t/nofork-mux...................... ok
> t/prove........................... ok
> t/process......................... ok
> t/compat/test-harness-compat...... ok
> t/regression...................... ok
> ===(   10323
> )==========================================================
> Test Summary Report
> -------------------
> t/state.t                     (Wstat: 512 Tests: 26 Failed: 2)
>  Failed test number(s):  24, 26
>  Non-zero exit status: 2
> t/harness.t                   (Wstat: 1280 Tests: 106 Failed: 5)
>  Failed test number(s):  68, 70, 72, 78, 83
>  Non-zero exit status: 5
> Files=39, Tests=10323,  7 wallclock secs ( 1.75 usr  0.23 sys +  7.66
> cusr  2.76 csys = 12.40 CPU)
> Result: FAIL
>
>
> --
> Buy the book  - http://www.oreilly.com/catalog/perlhks/
> Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
> Personal blog - http://publius-ovidius.livejournal.com/
> Tech blog     - http://use.perl.org/~Ovid/journal/
>

-- 
Andy Armstrong, Hexten






More information about the tapx-dev mailing list