CC: | TINITA [...] cpan.org |
Subject: | Test suite fails (with newest YAML?) |
t/21-emitting.t and t/22-round-tripping.t started to fail --- it seems that this happens if YAML 1.30 is installed. See also http://blogs.perl.org/users/tinita/2020/01/making-yamlpm-yamlsyck-and-yamlxs-safer-by-default.html
Test log:
...
# Failed test 'yaml/01-simplest.yaml - emitted OK (18us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Failed test 'yaml/02-moar.yaml - emitted OK (19us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Failed test 'yaml/03-moar-moar-moar.yaml - emitted OK (14us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Failed test 'yaml/04-whatever.yaml - emitted OK (17us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Failed test 'yaml/05-whatever-object.yaml - emitted OK (17us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Looks like you failed 5 tests of 5.
t/21-emitting.t ........
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/5 subtests
# Failed test 'yaml/01-simplest.yaml - emitted OK (24us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Failed test 'yaml/02-moar.yaml - emitted OK (23us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Failed test 'yaml/03-moar-moar-moar.yaml - emitted OK (19us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Failed test 'yaml/04-whatever.yaml - emitted OK (28us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Failed test 'yaml/05-whatever-object.yaml - emitted OK (18us)'
# at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 103.
# exception during emitting: Can't call method "to_xml" on unblessed reference at /usr/home/cpansand/.cpan/build/2020022914/PRANG-0.20-0/t/XMLTests.pm line 100.
# Looks like you failed 5 tests of 72.
t/22-round-tripping.t ..
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/72 subtests
(less 10 skipped subtests: 57 okay)
...