Subject: | test fails when yaml::any doesn't find yaml::xs nor yaml::syck |
in this case, yaml::any reverts to yaml, which fails:
$ /usr/bin/make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.16.0 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ................. ok
t/02_kwalitee.t ............. ok
t/03_plugins.t .............. ok
t/05_testdir.t .............. ok
t/05_testfile.t ............. ok
t/10_analyse.t .............. ok
t/analyse_afs.t ............. ok
# Failed test 'metayml_is_parsable'
# at t/analyse_axkit_xsp_l10n.t line 30.
# Failed test 'LICENSE'
# at t/analyse_axkit_xsp_l10n.t line 31.
# got: ' defined in LICENSE'
# expected: 'perl defined in META.yaml defined in LICENSE'
# Looks like you failed 2 tests of 14.
t/analyse_axkit_xsp_l10n.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/14 subtests
t/analyse_devel_timer.t ..... ok
t/analyse_eg_c.t ............ ok
t/analyse_html_tiny.t ....... ok
t/analyse_test_yaml_meta.t .. ok
t/calc.t .................... ok
t/calc_test_yaml_meta.t ..... ok
t/generated_files.t ......... ok
t/moose_as_strict.t ......... ok
t/perl5i_as_strict.t ........ ok
t/perl5i_as_warnings.t ...... ok
t/plugin_manifest.t ......... ok
t/unpack.t .................. ok
t/unpack_notextractable.t ... ok
Test Summary Report
-------------------
t/analyse_axkit_xsp_l10n.t (Wstat: 512 Tests: 14 Failed: 2)
Failed tests: 11-12
Non-zero exit status: 2
Files=21, Tests=274, 11 wallclock secs ( 0.11 usr 0.02 sys + 9.44 cusr
0.75 csys = 10.32 CPU)
Result: FAIL
Failed 1/21 test programs. 2/274 subtests failed.
make: *** [test_dynamic] Error 255
exact error is:
# 'error' => {
# 'metayml_is_parsable' => 'YAML Error: Invalid
element in map
# Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
# Line: 23
# Document: 1
# at /usr/lib/perl5/vendor_perl/5.16.0/YAML/Loader.pm line 352.
# ',
# 'valid_signature' => -1
# },