Run javascriptcore tests on Windows without cygwin
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Apr 2015 00:23:54 +0000 (00:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Apr 2015 00:23:54 +0000 (00:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=144419

Patch by Alex Christensen <achristensen@webkit.org> on 2015-04-29
Reviewed by Brent Fulgham.

* Scripts/run-javascriptcore-tests:
(runJSCStressTests):
Just call ruby, not /usr/bin/env ruby.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183593 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/run-javascriptcore-tests

index f10ecf9d89af7f08ee2150029e9e08bca18e96c4..5bf966131477fcaf1009aebdfd3bbc71c705ee06 100644 (file)
@@ -1,3 +1,14 @@
+2015-04-29  Alex Christensen  <achristensen@webkit.org>
+
+        Run javascriptcore tests on Windows without cygwin
+        https://bugs.webkit.org/show_bug.cgi?id=144419
+
+        Reviewed by Brent Fulgham.
+
+        * Scripts/run-javascriptcore-tests:
+        (runJSCStressTests):
+        Just call ruby, not /usr/bin/env ruby.
+
 2015-04-29  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         [GTK] Add --enable-shared option to LLVM to build mesa
index 8756276e8a4e1ee16631f20eddff53c25313d736..8f37ab840b93dfec271dc8bb332f5a8b64c6c9ad 100755 (executable)
@@ -281,6 +281,9 @@ sub runJSCStressTests
         "Source/JavaScriptCore/tests/typeProfiler.yaml",
         "Source/JavaScriptCore/tests/controlFlowProfiler.yaml"
     );
+    if (isWindows() && !isCygwin()) {
+        shift @jscStressDriverCmd; # Remove /usr/bin/env
+    }
     if ($enableFTL) {
         push(@jscStressDriverCmd, "--ftl-jit");
     }