webkitpy.tool.steps.steps_unittest.StepsTest.test_runtests_leopard_commit_queue_hack_command fails under Win32 Python
https://bugs.webkit.org/show_bug.cgi?id=49472
Summary webkitpy.tool.steps.steps_unittest.StepsTest.test_runtests_leopard_commit_que...
Adam Roben (:aroben)
Reported 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"
Attachments
Adam Roben (:aroben)
Comment 1 2010-11-12 13:44:37 PST
The problem is the backslashes vs. forward slashes.
Note You need to log in before you can comment on or make changes to this bug.