Спасибо за репорт. Понял в чем косяк. Поправлю тест.

> 29 апр. 2016 г., в 7:36, Nikolay Mishin <[email protected]> написал(а):
> 
> Спасибо, интересно, но под
>  
> C:\Users\ira>perl -v
>  
> This is perl 5, version 16, subversion 2 (v5.16.2) built for 
> MSWin32-x64-multi-t
> hread
>  
> Building and testing Config-Processor-0.06
> cp lib/Config/Processor.pm blib\lib\Config\Processor.pm
> C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
> t/00-base.t .......... ok
> t/01-accessors.t ..... ok
> t/02-processing.t .... ok
>  
> #   Failed test 'missing extension'
> #   at t/03-exceptions.t line 25.
> #                   'File extension not specified. Don't known how parse 
> t\etc\foo at t/03-exceptions.t line 24.
> # '
> #     doesn't match '(?^:^File extension not specified\. Don't known how 
> parse t/etc/foo)'
>  
> #   Failed test 'unknown extension'
> #   at t/03-exceptions.t line 37.
> #                   'Unknown file extension ".xml" encountered. Don't known 
> how parse t\etc\foo.xml at t/03-exceptions.t line 36.
> # '
> #     doesn't match '(?^:^Unknown file extension "\.xml" encountered\. Don't 
> known how parse t/etc/foo\.xml)'
>  
> #   Failed test 'can't parse file; YAML'
> #   at t/03-exceptions.t line 62.
> #                   'Can't parse t\etc\invalid.yml
> # YAML::XS::Load Error: The problem:
> # 
> #     found character that cannot start any token
> # 
> # was found at document: 1
> # while scanning for the next token at line: 1, column: 1
> #  at t/03-exceptions.t line 61.
> # '
> #     doesn't match '(?^:^Can't parse t/etc/invalid\.yml)'
>  
> #   Failed test 'can't parse file; JSON'
> #   at t/03-exceptions.t line 68.
> #                   'Can't parse t\etc\invalid.json
> # 'false' expected, at character offset 0 (before "foo": { bar"\n") at 
> C:\Users\ira\.cpanm\work\1461904282.4828\Config-Processor-0.06\blib\lib/Config/Processor.pm
>  line 178, <$fh> line 1.
> #  at t/03-exceptions.t line 67.
> # '
> #     doesn't match '(?^:^Can't parse t/etc/invalid\.json)'
> # Looks like you failed 4 tests of 6.
> t/03-exceptions.t .... 
> Dubious, test returned 4 (wstat 1024, 0x400)
> Failed 4/6 subtests 
> t/04-pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing 
> POD coverage
>  
> Test Summary Report
> -------------------
> t/03-exceptions.t  (Wstat: 1024 Tests: 6 Failed: 4)
>   Failed tests:  1-2, 4-5
>   Non-zero exit status: 4
> Files=5, Tests=26,  1 wallclock secs ( 0.05 usr +  0.00 sys =  0.05 CPU)
> Result: FAIL
> Failed 1/5 test programs. 4/26 subtests failed.
> dmake.exe:  Error code 255, while making 'test_dynamic'
> -> FAIL Installing Config::Processor failed. See 
> C:\Users\ira\.cpanm\work\1461904282.4828\build.log for details. Retry with 
> --force to force install it.
> Expiring 2 work directories.
> 4 distributions installed
> 
> 
> 28.04.2016, 21:45, "Eugene Ponizovsky" <[email protected]>:
>> Добрый вечер, коллеги.
>> 
>> Сделал тут модуль Config::Processor для работы с каскадными файлами 
>> конфигурации в формате YAML и JSON. Поддерживает инклуды, интерполяцию 
>> переменных и некоторые другие манипуляции с деревом конфигурации. Вдруг 
>> кому-то будет полезен. 
>> 
>> https://metacpan.org/pod/Config::Processor 
>> <https://metacpan.org/pod/Config::Processor>,-- 
>> Moscow.pm mailing list
>> [email protected] <mailto:[email protected]> | http://moscow.pm.org 
>> <http://moscow.pm.org/>
> 
> 
> -- 
> С уважением
> Николай Мишин
>  
> 
> -- 
> Moscow.pm mailing list
> [email protected] | http://moscow.pm.org

-- 
Moscow.pm mailing list
[email protected] | http://moscow.pm.org

Ответить