Bug 49472 - webkitpy.tool.steps.steps_unittest.StepsTest.test_runtests_leopard_commit_queue_hack_command fails under Win32 Python
Summary: webkitpy.tool.steps.steps_unittest.StepsTest.test_runtests_leopard_commit_que...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 48728
  Show dependency treegraph
 
Reported: 2010-11-12 13:44 PST by Adam Roben (:aroben)
Modified: 2010-11-12 13:45 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2010-11-12 13:44:09 PST
To reproduce:

1. python WebKitTools\Scripts\test-webkitpy webkitpy.tool.steps.steps_unittest.StepsTest.test_runtests_leopard_commit_queue_hack_command

It fails with the following output:

FAIL: test_runtests_leopard_commit_queue_hack_command (webkitpy.tool.steps.steps_unittest.StepsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\cygwin\home\Adam Roben\dev\WebKit\OpenSource\WebKitTools\Scripts\webkitpy\tool\steps\steps_unittest.py", line 92, in test_runtests_leopard_commit_queue_hack_command
    OutputCapture().assert_outputs(self, step.run, [{}], expected_stderr=expected_stderr)
  File "C:\cygwin\home\Adam Roben\dev\WebKit\OpenSource\WebKitTools\Scripts\webkitpy\common\system\outputcapture.py", line 65, in assert_outputs
    testcase.assertEqual(stderr_string, expected_stderr)
AssertionError: "Running Python unit tests\nMOCK run_and_throw_if_fail: ['WebKitTools\\\\Scripts\\\\test-webkitpy']\nRunning Perl unit tests\nMOCK run_and_throw_if_fail: ['WebKitTools\\\\Scripts\\\\te
st-webkitperl']\nRunning JavaScriptCore tests\nMOCK run_and_throw_if_fail: ['WebKitTools\\\\Scripts\\\\run-javascriptcore-tests']\nRunning run-webkit-tests\nMOCK run_and_throw_if_fail: ['WebKitTools\\
\\Scripts\\\\run-webkit-tests', '--no-new-test-results', '--no-launch-safari', '--exit-after-n-failures=1', '--wait-for-httpd', '--ignore-tests', 'compositing,media', '--quiet']\n" != "Running Python
unit tests\nMOCK run_and_throw_if_fail: ['WebKitTools/Scripts/test-webkitpy']\nRunning Perl unit tests\nMOCK run_and_throw_if_fail: ['WebKitTools/Scripts/test-webkitperl']\nRunning JavaScriptCore test
s\nMOCK run_and_throw_if_fail: ['WebKitTools/Scripts/run-javascriptcore-tests']\nRunning run-webkit-tests\nMOCK run_and_throw_if_fail: ['WebKitTools/Scripts/run-webkit-tests', '--no-new-test-results',
 '--no-launch-safari', '--exit-after-n-failures=1', '--wait-for-httpd', '--ignore-tests', 'compositing,media', '--quiet']\n"
Comment 1 Adam Roben (:aroben) 2010-11-12 13:44:37 PST
The problem is the backslashes vs. forward slashes.