[Pkg-javascript-devel] Bug#639636: nodejs: FTBFS/armel - testsuite fails

Jérémy Lal kapouer at melix.org
Mon Dec 5 19:02:49 UTC 2011


On 05/12/2011 17:51, Jérémy Lal wrote:
> Thanks to the abel guest access i got, libv8 builds and pass tests on armel and armhf.
> I'm still having *one* test failing, if anyone has an idea about why :
> 
>    var f = new Buffer('über', 'ucs2');
>    assert.deepEqual(f, new Buffer([252, 0, 98, 0, 101, 0, 114, 0]));
> 
> Giving this result :
> https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=armel&ver=0.4.12-2&stamp=1323100281&file=log
> 
> Couldn't be linked to some wrong endianness assumption ?

It isn't, after doing some testing on abel, i observe this strange behavior :
   build/default/node /home/kapouer/nodejs/nodejs-0.4.12/test/simple/test-buffer.js
never outputs errors,
while
   python tools/test.py simple/test-buffer
always does.

I'm stuck.

Jérémy.


PS: wild cc-ing nodejs-dev, in case someone there already knows why :)
    the test mentionned above is the only one failing, and it's been there for a long time.






More information about the Pkg-javascript-devel mailing list