• rossberg@chromium.org's avatar
    test/test262: update testcfg.py for new test262 · cc07503b
    rossberg@chromium.org authored
    testcfg.py:
    
    - update revision and MD5
    - remove non-mandatory harness files
    - use test parser distributed with test262
    - new attribute `suite.harnesspath`
    - new method GetIncludesForTest
    - GetSourceForTest: cache source on testcase
    - IsNegativeTest: use parseTestRecord
    - use 7-char sha hash [1]
    - DRY setting up paths to test262 suite, harness, etc
    - clean up helper fns
    
    harness-adapter.js:
    
    - add $DONE function to adapter [2]
    
    1: github tar file has 7-char sha embedded in dir name
    script cannot find directory to rename if they don't match exactly
    
    2: test262 uses a `$DONE` function for async tests with
    semantics like those of mocha's `done`.
    
    Briefly: done(arg) => if (arg) { /* failure */ }
    
    Implemented a version of this for v8, using v8-specific
    api (`print`, `quit`)
    
    BUG=v8:3513
    LOG=N
    R=jkummerow@chromium.org
    
    Review URL: https://codereview.chromium.org/478163002
    
    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23313 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    cc07503b
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/fdlibm Loading commit data...
tools Loading commit data...
.DEPS.git Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...