On Mon, Dec 5, 2011 at 20:02, Jérémy Lal <kapo...@melix.org> wrote: > 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.
It looks like a off-by-one error. To wit: {"0":252,"1":0,"2":98,"3":0,"4":101,"5":0,"6":114,"7":0 { "0":0,"1":98,"2":0,"3":101,"4":0,"5":114,"6":0,"7":120 It's quite possibly been fixed. Does it happen with v0.6.5? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org