Title: [152170] trunk/Tools
Revision
152170
Author
[email protected]
Date
2013-06-28 09:08:24 -0700 (Fri, 28 Jun 2013)

Log Message

Clean up temporary files created by the bindings test script
https://bugs.webkit.org/show_bug.cgi?id=118189

Reviewed by Kentaro Hara.

Remove temporary files created by preprocess-idls.pl script after
the bindings tests are executed.

Based on Blink 153236 by Kentaro Hara <[email protected]>.

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

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (152169 => 152170)


--- trunk/Tools/ChangeLog	2013-06-28 16:07:37 UTC (rev 152169)
+++ trunk/Tools/ChangeLog	2013-06-28 16:08:24 UTC (rev 152170)
@@ -1,3 +1,18 @@
+2013-06-28  Christophe Dumez  <[email protected]>
+
+        Clean up temporary files created by the bindings test script
+        https://bugs.webkit.org/show_bug.cgi?id=118189
+
+        Reviewed by Kentaro Hara.
+
+        Remove temporary files created by preprocess-idls.pl script after
+        the bindings tests are executed.
+
+        Based on Blink 153236 by Kentaro Hara <[email protected]>.
+
+        * Scripts/webkitpy/bindings/main.py:
+        (BindingsTests.main):
+
 2013-06-26  Dean Jackson  <[email protected]>
 
         [Mac] Add Mavericks system font to Test systems

Modified: trunk/Tools/Scripts/webkitpy/bindings/main.py (152169 => 152170)


--- trunk/Tools/Scripts/webkitpy/bindings/main.py	2013-06-28 16:07:37 UTC (rev 152169)
+++ trunk/Tools/Scripts/webkitpy/bindings/main.py	2013-06-28 16:08:24 UTC (rev 152170)
@@ -161,6 +161,10 @@
         if self.generate_supplemental_dependency(input_directory, supplemental_dependency_file, window_constructors_file, workerglobalscope_constructors_file, sharedworkerglobalscope_constructors_file, dedicatedworkerglobalscope_constructors_file):
             print 'Failed to generate a supplemental dependency file.'
             os.remove(supplemental_dependency_file)
+            os.remove(window_constructors_file)
+            os.remove(workerglobalscope_constructors_file)
+            os.remove(sharedworkerglobalscope_constructors_file)
+            os.remove(dedicatedworkerglobalscope_constructors_file)
             return -1
 
         for generator in self.generators:
@@ -170,6 +174,10 @@
                 all_tests_passed = False
 
         os.remove(supplemental_dependency_file)
+        os.remove(window_constructors_file)
+        os.remove(workerglobalscope_constructors_file)
+        os.remove(sharedworkerglobalscope_constructors_file)
+        os.remove(dedicatedworkerglobalscope_constructors_file)
         print ''
         if all_tests_passed:
             print 'All tests PASS!'
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to