| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # chrome_tests.py | 6 # chrome_tests.py |
| 7 | 7 |
| 8 ''' Runs various chrome tests through valgrind_test.py.''' | 8 ''' Runs various chrome tests through valgrind_test.py.''' |
| 9 | 9 |
| 10 import glob | 10 import glob |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 | 218 |
| 219 def TestGURL(self): | 219 def TestGURL(self): |
| 220 return self.SimpleTest("chrome", "googleurl_unittests") | 220 return self.SimpleTest("chrome", "googleurl_unittests") |
| 221 | 221 |
| 222 def TestCourgette(self): | 222 def TestCourgette(self): |
| 223 return self.SimpleTest("courgette", "courgette_unittests") | 223 return self.SimpleTest("courgette", "courgette_unittests") |
| 224 | 224 |
| 225 def TestMedia(self): | 225 def TestMedia(self): |
| 226 return self.SimpleTest("chrome", "media_unittests") | 226 return self.SimpleTest("chrome", "media_unittests") |
| 227 | 227 |
| 228 def TestNotifier(self): | 228 def TestJingle(self): |
| 229 return self.SimpleTest("chrome", "notifier_unit_tests") | 229 return self.SimpleTest("chrome", "jingle_unittests") |
| 230 | 230 |
| 231 def TestPrinting(self): | 231 def TestPrinting(self): |
| 232 return self.SimpleTest("chrome", "printing_unittests") | 232 return self.SimpleTest("chrome", "printing_unittests") |
| 233 | 233 |
| 234 def TestRemoting(self): | 234 def TestRemoting(self): |
| 235 return self.SimpleTest("chrome", "remoting_unittests", | 235 return self.SimpleTest("chrome", "remoting_unittests", |
| 236 cmd_args=[ | 236 cmd_args=[ |
| 237 "--ui-test-timeout=240000", | 237 "--ui-test-timeout=240000", |
| 238 "--ui-test-action-timeout=120000", | 238 "--ui-test-action-timeout=120000", |
| 239 "--ui-test-action-max-timeout=280000"]) | 239 "--ui-test-action-max-timeout=280000"]) |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 "base": TestBase, "base_unittests": TestBase, | 423 "base": TestBase, "base_unittests": TestBase, |
| 424 "browser": TestBrowser, "browser_tests": TestBrowser, | 424 "browser": TestBrowser, "browser_tests": TestBrowser, |
| 425 "googleurl": TestGURL, "googleurl_unittests": TestGURL, | 425 "googleurl": TestGURL, "googleurl_unittests": TestGURL, |
| 426 "courgette": TestCourgette, "courgette_unittests": TestCourgette, | 426 "courgette": TestCourgette, "courgette_unittests": TestCourgette, |
| 427 "ipc": TestIpc, "ipc_tests": TestIpc, | 427 "ipc": TestIpc, "ipc_tests": TestIpc, |
| 428 "interactive_ui": TestInteractiveUI, | 428 "interactive_ui": TestInteractiveUI, |
| 429 "layout": TestLayout, "layout_tests": TestLayout, | 429 "layout": TestLayout, "layout_tests": TestLayout, |
| 430 "webkit": TestLayout, | 430 "webkit": TestLayout, |
| 431 "media": TestMedia, "media_unittests": TestMedia, | 431 "media": TestMedia, "media_unittests": TestMedia, |
| 432 "net": TestNet, "net_unittests": TestNet, | 432 "net": TestNet, "net_unittests": TestNet, |
| 433 "notifier": TestNotifier, "notifier_unittests": TestNotifier, | 433 "jingle": TestJingle, "jingle_unittests": TestJingle, |
| 434 "printing": TestPrinting, "printing_unittests": TestPrinting, | 434 "printing": TestPrinting, "printing_unittests": TestPrinting, |
| 435 "reliability": TestReliability, "reliability_tests": TestReliability, | 435 "reliability": TestReliability, "reliability_tests": TestReliability, |
| 436 "remoting": TestRemoting, "remoting_unittests": TestRemoting, | 436 "remoting": TestRemoting, "remoting_unittests": TestRemoting, |
| 437 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, | 437 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, |
| 438 "startup": TestStartup, "startup_tests": TestStartup, | 438 "startup": TestStartup, "startup_tests": TestStartup, |
| 439 "sync": TestSync, "sync_unit_tests": TestSync, | 439 "sync": TestSync, "sync_unit_tests": TestSync, |
| 440 "sync_integration_tests": TestSyncIntegration, | 440 "sync_integration_tests": TestSyncIntegration, |
| 441 "sync_integration": TestSyncIntegration, | 441 "sync_integration": TestSyncIntegration, |
| 442 "test_shell": TestTestShell, "test_shell_tests": TestTestShell, | 442 "test_shell": TestTestShell, "test_shell_tests": TestTestShell, |
| 443 "ui": TestUI, "ui_tests": TestUI, | 443 "ui": TestUI, "ui_tests": TestUI, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 for t in options.test: | 491 for t in options.test: |
| 492 tests = ChromeTests(options, args, t) | 492 tests = ChromeTests(options, args, t) |
| 493 ret = tests.Run() | 493 ret = tests.Run() |
| 494 if ret: return ret | 494 if ret: return ret |
| 495 return 0 | 495 return 0 |
| 496 | 496 |
| 497 | 497 |
| 498 if __name__ == "__main__": | 498 if __name__ == "__main__": |
| 499 ret = _main(sys.argv) | 499 ret = _main(sys.argv) |
| 500 sys.exit(ret) | 500 sys.exit(ret) |
| OLD | NEW |