Skip Menu |

This queue is for tickets about the EJS-Template CPAN distribution.

Report information
The Basics
Id: 129340
Status: open
Priority: 0/
Queue: EJS-Template

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.08
Fixed in: (no value)



Subject: Test failures (with JavaScript::SpiderMonkey?)
On some of my smokers I see test failures like this: ... # Failed test at t/07-context.t line 34. # got: 'x * y * z = 1 # x = 2 # y = 4 # z = 5 # ' # expected: 'x * y * z = 40 # x = 2 # y = 4 # z = 5 # ' # Failed test at t/07-context.t line 73. # got: 'set_t2: bar = 2 # set_t2: bar = 24 # ' # expected: 'set_t2: bar = 2 # set_t2: bar = 24 # result: foo = 120 # ' # Failed test at t/07-context.t line 79. # got: 'set_t1: foo = 6 # set_t1: foo = 120 # result: foo = 120 # result: bar = 24 # ' # expected: 'set_t1: foo = 6 # set_t1: foo = 120 # result: bar = 24 # ' # Looks like you failed 3 tests of 4. t/07-context.t ... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/4 subtests ... This seems to happen if JavaScript::SpiderMonkey is installed.
Thanks for reporting the issue. It is due to limitation with JavaScript::SpiderMonkey that it cannot be instantiated multiple times. I'll fix the relevant test not to use SpiderMonkey and release a new version soon. On Sat, 27 Apr 2019 16:53:16 GMT, SREZIC wrote: Show quoted text
> On some of my smokers I see test failures like this: > > ... > # Failed test at t/07-context.t line 34. > # got: 'x * y * z = 1 > # x = 2 > # y = 4 > # z = 5 > # ' > # expected: 'x * y * z = 40 > # x = 2 > # y = 4 > # z = 5 > # ' > > # Failed test at t/07-context.t line 73. > # got: 'set_t2: bar = 2 > # set_t2: bar = 24 > # ' > # expected: 'set_t2: bar = 2 > # set_t2: bar = 24 > # result: foo = 120 > # ' > > # Failed test at t/07-context.t line 79. > # got: 'set_t1: foo = 6 > # set_t1: foo = 120 > # result: foo = 120 > # result: bar = 24 > # ' > # expected: 'set_t1: foo = 6 > # set_t1: foo = 120 > # result: bar = 24 > # ' > # Looks like you failed 3 tests of 4. > t/07-context.t ... > Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/4 subtests > ... > > This seems to happen if JavaScript::SpiderMonkey is installed.