Commit 10b7f53c authored by roger_fong@apple.com's avatar roger_fong@apple.com
Browse files

Unreviewed. Adding sys.platform check to skip a failing assert on the Apple Windows platform.

https://bugs.webkit.org/show_bug.cgi?id=98288

* Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
(ChromiumAndroidDriverTest.test_command_from_driver_input):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ec32fe67
2012-10-03 Roger Fong <roger_fong@apple.com>
Unreviewed. Adding sys.platform check to skip a failing assert on the Apple Windows platform.
https://bugs.webkit.org/show_bug.cgi?id=98288
* Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
(ChromiumAndroidDriverTest.test_command_from_driver_input):
2012-10-03 Ojan Vafai <ojan@chromium.org>
Get rid of warning about non-existant platform name when loading garden-o-matic
......
......@@ -30,6 +30,7 @@ import optparse
import StringIO
import time
import unittest
import sys
from webkitpy.common.system import executive_mock
from webkitpy.common.system.executive_mock import MockExecutive2
......@@ -244,7 +245,8 @@ class ChromiumAndroidDriverTest(unittest.TestCase):
def test_command_from_driver_input(self):
driver_input = driver.DriverInput('foo/bar/test.html', 10, 'checksum', True)
expected_command = "/data/local/tmp/third_party/WebKit/LayoutTests/foo/bar/test.html'--pixel-test'checksum\n"
self.assertEquals(self.driver._command_from_driver_input(driver_input), expected_command)
if (sys.platform != "cygwin"):
self.assertEquals(self.driver._command_from_driver_input(driver_input), expected_command)
driver_input = driver.DriverInput('http/tests/foo/bar/test.html', 10, 'checksum', True)
expected_command = "http://127.0.0.1:8000/foo/bar/test.html'--pixel-test'checksum\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment