Hi Pawel, If I do this I pass all the tests: scons snapshot=on -j15 library=shared LD_LIBRARY_PATH=. tools/test.py --no-build -j15
I pass all the tests. Cheers, Rico On Wed, Aug 31, 2011 at 6:13 AM, Paweł Hajdan, Jr. <phajdan...@chromium.org> wrote: > I was packaging v8-3.5.8 for Linux as a shared library, and got tons of test > failures. I've tried using d8 and shell as the test shell, and bots produce > failures. Shell seems to produce less of them though. > Are the tests expected to pass (i.e. do you test before release)? How can I > make them pass? > > Some snippets from the shell log below, and full logs attached: > === release element-kind === > Path: mjsunit/element-kind > --- stdout --- > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/element-kind.js:94: > ReferenceError: Int8Array is not defined > assertKind(element_kind.external_byte_elements, new > Int8Array(9001)) > ^ > ReferenceError: Int8Array is not defined > at > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/element-kind.js:94:63 > Command: /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/shell > --allow-natives-syntax > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/mjsunit.js > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/element-kind.js > === release external-array === > Path: mjsunit/external-array > --- stdout --- > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/external-array.js:36: > ReferenceError: Int32Array is not defined > var a = new Int32Array(2); > ^ > ReferenceError: Int32Array is not defined > at > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/external-array.js:36:13 > Command: /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/shell > --allow-natives-syntax --expose-gc > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/mjsunit.js > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/external-array.js > Path: mjsunit/compiler/thisfunction > --- stdout --- > Warning: unknown flag --stress-opt. > Try --help for options > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/compiler/thisfunction.js:31: > TypeError: undefined is not a function > if (x == 1) return 42; else return f(1); > ^ > TypeError: undefined is not a function > at f > (/var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/compiler/thisfunction.js:31:40) > at > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/compiler/thisfunction.js:32:4 > Command: /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/shell --stress-opt > --always-opt > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/mjsunit.js > /var/tmp/portage/dev-lang/v8-3.5.8/work/v8-3.5.8/test/mjsunit/compiler/thisfunction.js > > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users