Title: [140777] trunk/Tools
Revision
140777
Author
[email protected]
Date
2013-01-24 21:23:51 -0800 (Thu, 24 Jan 2013)

Log Message

Skip haslanded_unittest.py on systems which do not have interdiff installed
https://bugs.webkit.org/show_bug.cgi?id=106402

Unreviewed.

* Scripts/webkitpy/tool/steps/haslanded_unittest.py:
(HasLandedTest):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (140776 => 140777)


--- trunk/Tools/ChangeLog	2013-01-25 05:14:20 UTC (rev 140776)
+++ trunk/Tools/ChangeLog	2013-01-25 05:23:51 UTC (rev 140777)
@@ -1,3 +1,13 @@
+2013-01-24  Eric Seidel  <[email protected]>
+
+        Skip haslanded_unittest.py on systems which do not have interdiff installed
+        https://bugs.webkit.org/show_bug.cgi?id=106402
+
+        Unreviewed.
+
+        * Scripts/webkitpy/tool/steps/haslanded_unittest.py:
+        (HasLandedTest):
+
 2013-01-24  Ryosuke Niwa  <[email protected]>
 
         Disable the failing webkitpy test for now.

Modified: trunk/Tools/Scripts/webkitpy/tool/steps/haslanded_unittest.py (140776 => 140777)


--- trunk/Tools/Scripts/webkitpy/tool/steps/haslanded_unittest.py	2013-01-25 05:14:20 UTC (rev 140776)
+++ trunk/Tools/Scripts/webkitpy/tool/steps/haslanded_unittest.py	2013-01-25 05:23:51 UTC (rev 140777)
@@ -27,14 +27,15 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 import unittest2 as unittest
+import subprocess
 
 from webkitpy.tool.steps.haslanded import HasLanded
 
 
[email protected]
 class HasLandedTest(unittest.TestCase):
     maxDiff = None
 
+    @unittest.skipUnless(subprocess.call('which interdiff', shell=True) == 0, "requires interdiff")
     def test_run(self):
         # These patches require trailing whitespace to remain valid patches.
         diff1 = """\
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to