Source: mozjs52
Version: 52.9.1-1
Severity: normal
User: debian-al...@lists.debian.org
Usertags: alpha ftbfs

Two mozjs52 tests fail on alpha:

## js1_5/Array/regress-157652.js: rc = 0, run time = 0.418948
BUGNUMBER: 157652
STATUS: Testing that Array.sort() doesn't crash on very large arrays
--- NOTE: IN THIS TESTCASE, WE EXPECT EXIT CODE 0 ---
--- NOTE: IN THIS TESTCASE, WE EXPECT EXIT CODE 5 ---
 FAILED! [reported from top level script] Testing that Array.sort() doesn't 
crash on very large arrays : Expected value 'InternalError: allocation size 
overflow', Actual value 'out of memory'
TEST-UNEXPECTED-FAIL | js1_5/Array/regress-157652.js | (args: "")

and

## js1_5/Regress/regress-422348.js: rc = 0, run time = 0.458987
BUGNUMBER: 422348
STATUS: Proper overflow error reporting
 FAILED! [reported from test()] Proper overflow error reporting : Expected 
value 'InternalError: allocation size overflow', Actual value 'out of memory'
TEST-UNEXPECTED-FAIL | js1_5/Regress/regress-422348.js | (args: "")

I suspect that alpha just needs to be added to the list of 64-bit
architectures where tests like these are skipped, similar to how mips64
was added in
debian/patches/tests-For-tests-that-are-skipped-on-64-bit-mips64-is-also.patch
(generalizing that patch to be more like "add more 64-bit architectures"
would probably be the best solution).

    smcv

Reply via email to