• 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
..
README Loading commit data...
harness-adapt.js Loading commit data...
test262-es6.status Loading commit data...
testcfg.py Loading commit data...