Need to skip webkitpy.common.checkout.baselineoptimizer_unittest.BaselineOptimizerTes...
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Sep 2011 21:38:26 +0000 (21:38 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Sep 2011 21:38:26 +0000 (21:38 +0000)
https://bugs.webkit.org/show_bug.cgi?id=69039

Reviewed by Adam Barth.

* Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
Actually skip only one specific test that is failing on Windows.

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

Tools/ChangeLog
Tools/Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py

index a2b9c31..fab144d 100644 (file)
@@ -1,3 +1,13 @@
+2011-09-30  David Levin  <levin@chromium.org>
+
+        Need to skip webkitpy.common.checkout.baselineoptimizer_unittest.BaselineOptimizerTest on Windows..
+        https://bugs.webkit.org/show_bug.cgi?id=69039
+
+        Reviewed by Adam Barth.
+
+        * Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:
+        Actually skip only one specific test that is failing on Windows.
+
 2011-09-30  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
         [Qt] Prevent qDebug() output from DRT and WTR unless --verbose
index d5ee3f5..bcfe532 100644 (file)
@@ -26,6 +26,7 @@
 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+import sys
 import unittest
 
 from webkitpy.common.checkout.baselineoptimizer import BaselineOptimizer
@@ -130,6 +131,9 @@ class BaselineOptimizerTest(unittest.TestCase):
         })
 
     def test_complex_shadowing(self):
+        # This test relies on OS specific functionality, so it doesn't work on Windows.
+        if sys.platform == 'win32':
+            return
         self._assertOptimization({
             'LayoutTests/platform/chromium-win': '462d03b9c025db1b0392d7453310dbee5f9a9e74',
             'LayoutTests/platform/mac': '5daa78e55f05d9f0d1bb1f32b0cd1bc3a01e9364',