Add an option to run-webkit-tests to skip java dependency check
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jun 2013 20:03:08 +0000 (20:03 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jun 2013 20:03:08 +0000 (20:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=117516

Reviewed by Andreas Kling.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):
* Scripts/webkitpy/port/mac.py:
(MacPort._check_port_build):

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

Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
Tools/Scripts/webkitpy/port/mac.py

index 0de0762a6511d33ae332a875f8f1e22c5c34b41b..60ee0f2aae337586913247c9a7f17ea3db0dc996 100644 (file)
@@ -1,3 +1,15 @@
+2013-06-11  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Add an option to run-webkit-tests to skip java dependency check
+        https://bugs.webkit.org/show_bug.cgi?id=117516
+
+        Reviewed by Andreas Kling.
+
+        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
+        (parse_args):
+        * Scripts/webkitpy/port/mac.py:
+        (MacPort._check_port_build):
+
 2013-06-11  Alex Christensen  <achristensen@apple.com>
 
         https://bugs.webkit.org/show_bug.cgi?id=117514
index 8b1c1132667a23f0532b367e2684b595a5d6468f..6b4bb76d1e1a3ab4adaa9d26cd83fef4e17f36e8 100644 (file)
@@ -196,7 +196,9 @@ def parse_args(args):
         optparse.make_option("--nocheck-sys-deps", action="store_true",
             default=False,
             help="Don't check the system dependencies (themes)"),
-
+        optparse.make_option("--nojava", action="store_true",
+            default=False,
+            help="Don't build java support files"),
     ]))
 
     option_group_definitions.append(("Testing Options", [
index 913905b2831d2089d5c42741fbef2779f677a66a..0b24ce70ece7f1f6b446f789884ec7e04b15b733 100644 (file)
@@ -168,7 +168,7 @@ class MacPort(ApplePort):
         _log.info("%s unique leaks found!" % unique_leaks)
 
     def _check_port_build(self):
-        return self._build_java_test_support()
+        return self.get_option('nojava') or self._build_java_test_support()
 
     def _path_to_webcore_library(self):
         return self._build_path('WebCore.framework/Versions/A/WebCore')