Upgrade the bundled V8 and update code in src/ and lib/ to the new API. Notable backwards incompatible changes are the removal of the smalloc module and dropped support for CESU-8 decoding. CESU-8 support can be brought back if necessary by doing UTF-8 decoding ourselves. This commit includes https://codereview.chromium.org/1192973004 to fix a build error on python 2.6 systems. The original commit log follows: Use optparse in js2c.py for python compatibility Without this change, V8 won't build on RHEL/CentOS 6 because the distro python is too old to know about the argparse module. PR-URL: https://github.com/nodejs/io.js/pull/2022 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
18 lines
686 B
Text
18 lines
686 B
Text
This directory contains code for binding the test262 test suite
|
|
into the v8 test harness. To use the tests check out the test262
|
|
tests from
|
|
|
|
https://github.com/tc39/test262
|
|
|
|
at hash 43acf61 (2015/03/31 revision) as 'data' in this directory. Using later
|
|
version may be possible but the tests are only known to pass (and indeed run)
|
|
with that revision.
|
|
|
|
git clone https://github.com/tc39/test262 data
|
|
cd data
|
|
git checkout 43acf61
|
|
|
|
If you do update to a newer revision you may have to change the test
|
|
harness adapter code since it uses internal functionality from the
|
|
harness that comes bundled with the tests. You will most likely also
|
|
have to update the test expectation file.
|