Modified: trunk/Tools/ChangeLog (210113 => 210114)
--- trunk/Tools/ChangeLog 2016-12-22 22:26:37 UTC (rev 210113)
+++ trunk/Tools/ChangeLog 2016-12-22 22:29:27 UTC (rev 210114)
@@ -1,3 +1,12 @@
+2016-12-22 Saam Barati <[email protected]>
+
+ WebAssembly: Silence the output of the spec-tests
+ https://bugs.webkit.org/show_bug.cgi?id=166417
+
+ Reviewed by Mark Lam.
+
+ * Scripts/run-jsc-stress-tests:
+
2016-12-22 Zhuo Li <[email protected]>
[Cocoa] SPI for setloadsImagesAutomatically.
Modified: trunk/Tools/Scripts/run-jsc-stress-tests (210113 => 210114)
--- trunk/Tools/Scripts/run-jsc-stress-tests 2016-12-22 22:26:37 UTC (rev 210113)
+++ trunk/Tools/Scripts/run-jsc-stress-tests 2016-12-22 22:29:27 UTC (rev 210114)
@@ -798,8 +798,12 @@
$runCommandOptions[:isSlow] = true
end
+def runWithOutputHandler(kind, outputHandler, *options)
+ addRunCommand(kind, [pathToVM.to_s] + BASE_OPTIONS + options + [$benchmark.to_s], outputHandler, simpleErrorHandler)
+end
+
def run(kind, *options)
- addRunCommand(kind, [pathToVM.to_s] + BASE_OPTIONS + options + [$benchmark.to_s], silentOutputHandler, simpleErrorHandler)
+ runWithOutputHandler(kind, silentOutputHandler, *options)
end
def runNoFTL(*optionalTestSpecificOptions)
@@ -1197,7 +1201,8 @@
modules = Dir[WASMTESTS_PATH + "*.js"].map { |f| File.basename(f) }
prepareExtraAbsoluteFiles(WASMTESTS_PATH, ["wasm.json"])
prepareExtraRelativeFiles(modules.map { |f| "../../" + f }, $collection)
- run("default-wasm", "-m", "--useWebAssembly=1")
+
+ runWithOutputHandler("default-wasm", noisyOutputHandler, "-m", "--useWebAssembly=1")
end
def runChakra(mode, exception, baselineFile, extraFiles)