xslate/p5-Text-Xslate

Test fails with Argument list too long

Closed this issue · 1 comments

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