Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py

Issue 1212693002: Remove --enable-slimming-paint from layout test command line (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix unittest Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py b/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py
index c6d6efd9c3cda561086bf52fb2a6968584a1a1b3..67d58d6c3a440cb9e58e26360b5a97ccaf71035d 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/driver_unittest.py
@@ -131,7 +131,10 @@ class DriverTest(unittest.TestCase):
port = TestWebKitPort()
port._config.build_directory = lambda configuration: '/mock-checkout/out/' + configuration
driver = Driver(port, 0, pixel_tests=True, no_timeout=True)
- self.assertEqual(driver.cmd_line(True, []), ['/mock-checkout/out/Release/content_shell', '--no-timeout', '--run-layout-test', '--enable-slimming-paint', '-'])
+ cmd_line = driver.cmd_line(True, [])
+ self.assertEqual(cmd_line[0], '/mock-checkout/out/Release/content_shell')
+ self.assertEqual(cmd_line[-1], '-')
+ self.assertTrue('--no-timeout' in cmd_line)
def test_check_for_driver_crash(self):
port = TestWebKitPort()
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698