1
0
mirror of https://github.com/robertkrimen/otto synced 2025-09-28 18:45:22 +08:00
otto/.test262
Robert Krimen 1728c036d4 Partial rewrite of lexer
- Better identifier scanning
- Less repetition in decoding the stream (cached in readIn)
- Method privitization
2012-10-19 12:24:53 -07:00
..
cull test262: Can't handle the UTF-16 right now 2012-10-17 12:13:02 -07:00
gauntlet Add shim.js for better test262 testing 2012-10-18 15:09:49 -07:00
Makefile Partial rewrite of lexer 2012-10-19 12:24:53 -07:00
otto Add test262 testing environment 2012-10-16 10:07:04 -07:00
README Better test262 test procedure 2012-10-16 15:53:01 -07:00
shim.js Add shim.js for better test262 testing 2012-10-18 15:09:49 -07:00
suite Require identifier for declared functions 2012-10-16 10:27:20 -07:00
uncull Better test262 test procedure 2012-10-16 15:53:01 -07:00

v8/test/test262/README:
---
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

  http://hg.ecmascript.org/tests/test262

at revision 334 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.

hg clone -r 334 http://hg.ecmascript.org/tests/test262 data

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.
---

First, check out the test data (described above):

    $ make data

Then, cull to a sane set suite via v8 (you need v8 installed):

    $ make cull

Now you can test:

    $ make test