Title: [135739] trunk/Tools
Revision
135739
Author
[email protected]
Date
2012-11-26 10:56:22 -0800 (Mon, 26 Nov 2012)

Log Message

Coverage testing in webkitpy should omit some paths
https://bugs.webkit.org/show_bug.cgi?id=103267

Reviewed by Dirk Pranke.

Omit testing coverage of any file under /usr directory and any file
that is of third party origin and was autoinstalled.

* Scripts/webkitpy/test/main.py:
(Tester._run_tests):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (135738 => 135739)


--- trunk/Tools/ChangeLog	2012-11-26 18:54:50 UTC (rev 135738)
+++ trunk/Tools/ChangeLog	2012-11-26 18:56:22 UTC (rev 135739)
@@ -1,3 +1,16 @@
+2012-11-26  Zan Dobersek  <[email protected]>
+
+        Coverage testing in webkitpy should omit some paths
+        https://bugs.webkit.org/show_bug.cgi?id=103267
+
+        Reviewed by Dirk Pranke.
+
+        Omit testing coverage of any file under /usr directory and any file
+        that is of third party origin and was autoinstalled.
+
+        * Scripts/webkitpy/test/main.py:
+        (Tester._run_tests):
+
 2012-11-26  Jaehun Lim  <[email protected]>
 
         Text Autosizing: Add Text Autosizing APIs for WK2

Modified: trunk/Tools/Scripts/webkitpy/test/main.py (135738 => 135739)


--- trunk/Tools/Scripts/webkitpy/test/main.py	2012-11-26 18:54:50 UTC (rev 135738)
+++ trunk/Tools/Scripts/webkitpy/test/main.py	2012-11-26 18:56:22 UTC (rev 135739)
@@ -139,7 +139,7 @@
             self._options.child_processes = 1
 
             import webkitpy.thirdparty.autoinstalled.coverage as coverage
-            cov = coverage.coverage()
+            cov = coverage.coverage(omit=["/usr/*", "*/webkitpy/thirdparty/autoinstalled/*"])
             cov.start()
 
         self.printer.write_update("Checking imports ...")
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to