Unreviewed test gardening.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Apr 2014 22:18:06 +0000 (22:18 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Apr 2014 22:18:06 +0000 (22:18 +0000)
* 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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166619 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/port/base_unittest.py

index 13b4cec..a83a9ef 100644 (file)
@@ -1,3 +1,10 @@
+2014-04-01  Brent Fulgham  <bfulgham@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  <zoltan@webkit.org>
 
         [CSS Exclusions] Remove exclusions parsing support
index 7d3da0e..116657c 100644 (file)
@@ -391,7 +391,10 @@ class PortTest(unittest.TestCase):
 
     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):