Changeset 215519 in webkit


Ignore:
Timestamp:
Apr 19, 2017 11:02:04 AM (7 years ago)
Author:
jfbastien@apple.com
Message:

WebAssembly: add script which can import GCC torture tests
https://bugs.webkit.org/show_bug.cgi?id=170740

Reviewed by Saam Barati.

Add a script which can import the GCC torture tests and create a
yaml file to run them as part of jsc's WebAssembly regression
tests.

This patch doesn't commit the tests themselves because they're
licensed differently.

  • Scripts/run-jsc-stress-tests: learn how to run

Emscripten-generated .js+.wasm files, and do a bit of cleanup on
the options because WebAssembly is enabled by default.

  • Scripts/update-wasm-gcc-torture.py: Added.

(parse_args):
(update_lkgr):
(untar_torture):
(list_js_files):
(waterfall_known_failures):
(create_yaml):
(main):

Location:
trunk/Tools
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r215515 r215519  
     12017-04-19  JF Bastien  <jfbastien@apple.com>
     2
     3        WebAssembly: add script which can import GCC torture tests
     4        https://bugs.webkit.org/show_bug.cgi?id=170740
     5
     6        Reviewed by Saam Barati.
     7
     8        Add a script which can import the GCC torture tests and create a
     9        yaml file to run them as part of jsc's WebAssembly regression
     10        tests.
     11
     12        This patch doesn't commit the tests themselves because they're
     13        licensed differently.
     14
     15        * Scripts/run-jsc-stress-tests: learn how to run
     16        Emscripten-generated .js+.wasm files, and do a bit of cleanup on
     17        the options because WebAssembly is enabled by default.
     18        * Scripts/update-wasm-gcc-torture.py: Added.
     19        (parse_args):
     20        (update_lkgr):
     21        (untar_torture):
     22        (list_js_files):
     23        (waterfall_known_failures):
     24        (create_yaml):
     25        (main):
     26
    1272017-04-19  Youenn Fablet  <youenn@apple.com>
    228
  • trunk/Tools/Scripts/run-jsc-stress-tests

    r215292 r215519  
    11991199    prepareExtraAbsoluteFiles(WASMTESTS_PATH, ["wasm.json"])
    12001200    prepareExtraRelativeFiles(modules.map { |f| "../" + f }, $collection)
    1201     run("default-wasm", "-m", "--useWebAssembly=1")
     1201    run("default-wasm", "-m")
     1202end
     1203
     1204def runWebAssemblyEmscripten(mode)
     1205    case mode
     1206    when :skip
     1207        return
     1208    end
     1209    return if !$jitTests
     1210    return if !$isFTLPlatform
     1211    wasm = $benchmark.to_s.sub! '.js', '.wasm'
     1212    prepareExtraRelativeFiles([Pathname('..') + wasm], $collection)
     1213    run("default-wasm")
    12021214end
    12031215
     
    12181230    prepareExtraRelativeFiles(harness.map { |f| "../../spec-harness/" + f }, $collection)
    12191231
    1220     runWithOutputHandler("default-wasm", noisyOutputHandler, "--useWebAssembly=1", "../spec-harness.js")
     1232    runWithOutputHandler("default-wasm", noisyOutputHandler, "../spec-harness.js")
    12211233end
    12221234
Note: See TracChangeset for help on using the changeset viewer.