xslate / p5-Text-Xslate

Scalable template engine for Perl5
https://metacpan.org/release/Text-Xslate
Other
121 stars 47 forks source link

Test fails with Argument list too long #202

Closed greeneg closed 4 years ago

greeneg commented 4 years ago

When running ./Build test I get the following:

t/900_bugs/032_issue79.t ........................ Can't exec "/bin/sh": Argument list too long at t/900_bugs/032_issue79.t line 30.
t/900_bugs/032_issue79.t ........................ 1/? 
#   Failed test 'process succeed'
#   at t/900_bugs/032_issue79.t line 31.
#          got: '-1'
#     expected: '0'
Can't exec "/bin/sh": Argument list too long at t/900_bugs/032_issue79.t line 34.

#   Failed test 'process succeed'
#   at t/900_bugs/032_issue79.t line 35.
#          got: '-1'
#     expected: '0'
# Looks like you failed 2 tests of 3.
t/900_bugs/032_issue79.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests

This is caused by overly large INC arrays spawned by Module::Build. To work around this, and to use blib/lib instead, I'll be creating a PR shortly with the fix that works locally

skaji commented 4 years ago

@greeneg Thanks for reporting this. Fixed in https://metacpan.org/release/SKAJI/Text-Xslate-v3.5.8