Title: [166619] trunk/Tools
Revision
166619
Author
bfulg...@apple.com
Date
2014-04-01 15:18:06 -0700 (Tue, 01 Apr 2014)

Log Message

Unreviewed test gardening.

* Scripts/webkitpy/port/base_unittest.py:
(PortTest.test_build_path): Handle the Debug case so we don't get webkitpy-test failures on our test bots.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (166618 => 166619)


--- trunk/Tools/ChangeLog	2014-04-01 22:13:34 UTC (rev 166618)
+++ trunk/Tools/ChangeLog	2014-04-01 22:18:06 UTC (rev 166619)
@@ -1,3 +1,10 @@
+2014-04-01  Brent Fulgham  <bfulg...@apple.com>
+
+        Unreviewed test gardening.
+
+        * Scripts/webkitpy/port/base_unittest.py:
+        (PortTest.test_build_path): Handle the Debug case so we don't get webkitpy-test failures on our test bots.
+
 2014-04-01  Zoltan Horvath  <zol...@webkit.org>
 
         [CSS Exclusions] Remove exclusions parsing support

Modified: trunk/Tools/Scripts/webkitpy/port/base_unittest.py (166618 => 166619)


--- trunk/Tools/Scripts/webkitpy/port/base_unittest.py	2014-04-01 22:13:34 UTC (rev 166618)
+++ trunk/Tools/Scripts/webkitpy/port/base_unittest.py	2014-04-01 22:18:06 UTC (rev 166619)
@@ -391,7 +391,10 @@
 
     def test_build_path(self):
         port = self.make_port(options=optparse.Values({'build_directory': '/my-build-directory/'}))
-        self.assertEqual(port._build_path(), '/my-build-directory/Release')
+        if port.get_option('configuration') == 'Debug':
+            self.assertEqual(port._build_path(), '/my-build-directory/Debug')
+        else:
+            self.assertEqual(port._build_path(), '/my-build-directory/Release')
 
 
 class NaturalCompareTest(unittest.TestCase):
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to