Bug#905825: mozjs52: test failure on alpha: Expected value 'InternalError: allocation size overflow', Actual value 'out of memory'

Simon McVittie <[email protected]>
Newsgroups gmane.linux.debian.ports.alpha
Message-ID <20180810100533.GA21876__39549.6119316251$1533895635$gmane$org@espresso.pseudorandom.co.uk>
Source: mozjs52
Version: 52.9.1-1
Severity: normal
User: [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.