Title: [152082] trunk/Tools
Revision
152082
Author
ch.du...@sisa.samsung.com
Date
2013-06-27 00:28:05 -0700 (Thu, 27 Jun 2013)

Log Message

Fix bindings tests after r152080
https://bugs.webkit.org/show_bug.cgi?id=118118

Reviewed by Gyuyoung Kim.

r152080 renamed argument to preprocess-idls.pl from --workerContextConstructorsFile
to --workerGlobalScopeConstructorsFile. This patch updates to bindings test script
accordingly.

* Scripts/webkitpy/bindings/main.py:
(BindingsTests.generate_supplemental_dependency):
(BindingsTests.main):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (152081 => 152082)


--- trunk/Tools/ChangeLog	2013-06-27 07:00:00 UTC (rev 152081)
+++ trunk/Tools/ChangeLog	2013-06-27 07:28:05 UTC (rev 152082)
@@ -1,3 +1,18 @@
+2013-06-27  Christophe Dumez  <ch.du...@sisa.samsung.com>
+
+        Fix bindings tests after r152080
+        https://bugs.webkit.org/show_bug.cgi?id=118118
+
+        Reviewed by Gyuyoung Kim.
+
+        r152080 renamed argument to preprocess-idls.pl from --workerContextConstructorsFile
+        to --workerGlobalScopeConstructorsFile. This patch updates to bindings test script
+        accordingly.
+
+        * Scripts/webkitpy/bindings/main.py:
+        (BindingsTests.generate_supplemental_dependency):
+        (BindingsTests.main):
+
 2013-06-26  Carlos Garcia Campos  <cargar...@blackberry.com>
 
         [BlackBerry] Handle testRunner.setCustomPolicyDelegate()

Modified: trunk/Tools/Scripts/webkitpy/bindings/main.py (152081 => 152082)


--- trunk/Tools/Scripts/webkitpy/bindings/main.py	2013-06-27 07:00:00 UTC (rev 152081)
+++ trunk/Tools/Scripts/webkitpy/bindings/main.py	2013-06-27 07:28:05 UTC (rev 152082)
@@ -61,7 +61,7 @@
             exit_code = e.exit_code
         return exit_code
 
-    def generate_supplemental_dependency(self, input_directory, supplemental_dependency_file, window_constructors_file, workercontext_constructors_file):
+    def generate_supplemental_dependency(self, input_directory, supplemental_dependency_file, window_constructors_file, workerglobalscope_constructors_file):
         idl_files_list = tempfile.mkstemp()
         for input_file in os.listdir(input_directory):
             (name, extension) = os.path.splitext(input_file)
@@ -77,7 +77,7 @@
                '--defines', '',
                '--supplementalDependencyFile', supplemental_dependency_file,
                '--windowConstructorsFile', window_constructors_file,
-               '--workerContextConstructorsFile', workercontext_constructors_file]
+               '--workerGlobalScopeConstructorsFile', workerglobalscope_constructors_file]
 
         exit_code = 0
         try:
@@ -153,8 +153,8 @@
         input_directory = os.path.join('WebCore', 'bindings', 'scripts', 'test')
         supplemental_dependency_file = tempfile.mkstemp()[1]
         window_constructors_file = tempfile.mkstemp()[1]
-        workercontext_constructors_file = tempfile.mkstemp()[1]
-        if self.generate_supplemental_dependency(input_directory, supplemental_dependency_file, window_constructors_file, workercontext_constructors_file):
+        workerglobalscope_constructors_file = tempfile.mkstemp()[1]
+        if self.generate_supplemental_dependency(input_directory, supplemental_dependency_file, window_constructors_file, workerglobalscope_constructors_file):
             print 'Failed to generate a supplemental dependency file.'
             os.remove(supplemental_dependency_file)
             return -1
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to