[GTK] JSC test wasm.yaml/wasm/js-api/test_basic_api.js.default-wasm and wasm.yaml/wasm/js-api/test_Module.js.default-wasm fail with Exception: ReferenceError: Can't find variable: WebAssembly
https://bugs.webkit.org/show_bug.cgi?id=163846
Reviewed by Michael Catanzaro.
WebAssembly is now developed for Darwin right now.
Disable WASM tests in the other platforms.
* Scripts/run-jsc-stress-tests:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@207913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index a4bcb20..92c10c4 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,3 +1,15 @@
+2016-10-26 Yusuke Suzuki <utatane.tea@gmail.com>
+
+ [GTK] JSC test wasm.yaml/wasm/js-api/test_basic_api.js.default-wasm and wasm.yaml/wasm/js-api/test_Module.js.default-wasm fail with Exception: ReferenceError: Can't find variable: WebAssembly
+ https://bugs.webkit.org/show_bug.cgi?id=163846
+
+ Reviewed by Michael Catanzaro.
+
+ WebAssembly is now developed for Darwin right now.
+ Disable WASM tests in the other platforms.
+
+ * Scripts/run-jsc-stress-tests:
+
2016-10-26 Enrique Ocaña González <eocanha@igalia.com>
[cmake][GStreamer][MSE][EME] Build MSE and EME code after refactoring
diff --git a/Tools/Scripts/run-jsc-stress-tests b/Tools/Scripts/run-jsc-stress-tests
index 02a090d..a79a72d 100755
--- a/Tools/Scripts/run-jsc-stress-tests
+++ b/Tools/Scripts/run-jsc-stress-tests
@@ -1157,6 +1157,10 @@
def runWebAssembly
return if !$jitTests
return if !$isFTLPlatform
+ # FIXME: The current WebAssembly implementation includes Darwin specific things.
+ # Once WebAssembly becomes ready to be ported, we will enable it on the other OSes (like Linux) and drop this workaround.
+ # https://bugs.webkit.org/show_bug.cgi?id=164032
+ return if $hostOS != "darwin"
modules = Dir[WASMTESTS_PATH + "*.js"].map { |f| File.basename(f) }
prepareExtraAbsoluteFiles(WASMTESTS_PATH, ["wasm.json"])
prepareExtraRelativeFiles(modules.map { |f| "../" + f }, $collection)