#1827: Test failure in t/configure/049-options_test_prepare.t under perl < 5.8.8
----------------------+-----------------------------------------------------
 Reporter:  doughera  |       Owner:       
     Type:  bug       |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  none      |     Version:  2.8.0
 Severity:  medium    |    Keywords:       
     Lang:            |       Patch:       
 Platform:            |  
----------------------+-----------------------------------------------------
 When run with a version of perl less than 5.8.8 (I tested back to 5.8.4)
 the test fails in the following way:

 {{{
 $ perl t/configure/049-options_test_prepare.t
 1..12
 ok 1 - Correctly named test identified
 ok 2 - Incorrectly named test excluded
 ok 3 - Able to change back to starting directory
 ok 4 - File in incorrect directory correctly excluded from list of
 configuration step tests
 ok 5 - File lacking 2-digit number correctly excluded from list of
 configuration step tests
 ok 6 - File in second-level directory correctly included in list of
 configuration step tests
 ok 7 - File containing capital letters in name correctly excluded from
 list of configuration step tests
 not ok 8 - Got expected number of existing steps
 #     Failed test (t/configure/049-options_test_prepare.t at line 86)
 #          got: '8'
 #     expected: '5'
 ok 9 - Got expected number of missing steps
 ok 10 - Got expected missing step gen::missing
 ok 11 - Able to change back to starting directory
 ok 12 - Completed all tests in t/configure/049-options_test_prepare.t
 # Looks like you failed 1 tests of 12.
 }}}

 I know it is old, but perl-5.8.4 is still the default perl shipped with
 the current version of Solaris.

 The fix appears to be simple -- each invocation of _find_steps_tests can
 simply initialize {{{ %steps_tests_complex }}}.  The attached patch does
 this.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1827>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to