Subject: | t/96-metatest.t fails (wrong protection variable used?) |
If Test::CPAN::Meta::JSON is installed, and AUTOMATED_TESTING=1 is set, then the test suite fails:
...
# Failed test 'META.json meets the designated specification'
# at t/96-metatest.t line 17.
# ERR: Expected a list structure (resources -> license) [Validation: 2]
# ERR: Expected a list structure (license) [Validation: 2]
# Looks like you failed 1 test of 4.
t/96-metatest.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
...
This test failure probably has to be fixed. But I think the usage of AUTOMATED_TESTING to skip this test is wrong, AUTHOR_TESTING and/or RELEASE_TESTING should be used instead.