OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 ''' Runs various chrome tests through valgrind_test.py.''' | 6 ''' Runs various chrome tests through valgrind_test.py.''' |
7 | 7 |
8 import glob | 8 import glob |
9 import logging | 9 import logging |
10 import multiprocessing | 10 import multiprocessing |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 | 439 |
440 def TestPrinting(self): | 440 def TestPrinting(self): |
441 return self.SimpleTest("chrome", "printing_unittests") | 441 return self.SimpleTest("chrome", "printing_unittests") |
442 | 442 |
443 def TestRemoting(self): | 443 def TestRemoting(self): |
444 return self.SimpleTest("chrome", "remoting_unittests", | 444 return self.SimpleTest("chrome", "remoting_unittests", |
445 cmd_args=[ | 445 cmd_args=[ |
446 "--ui-test-action-timeout=60000", | 446 "--ui-test-action-timeout=60000", |
447 "--ui-test-action-max-timeout=150000"]) | 447 "--ui-test-action-max-timeout=150000"]) |
448 | 448 |
| 449 def TestSkia(self): |
| 450 return self.SimpleTest("skia", "skia_unittests") |
| 451 |
449 def TestSql(self): | 452 def TestSql(self): |
450 return self.SimpleTest("chrome", "sql_unittests") | 453 return self.SimpleTest("chrome", "sql_unittests") |
451 | 454 |
452 def TestSync(self): | 455 def TestSync(self): |
453 return self.SimpleTest("chrome", "sync_unit_tests") | 456 return self.SimpleTest("chrome", "sync_unit_tests") |
454 | 457 |
455 def TestLinuxSandbox(self): | 458 def TestLinuxSandbox(self): |
456 return self.SimpleTest("sandbox", "sandbox_linux_unittests") | 459 return self.SimpleTest("sandbox", "sandbox_linux_unittests") |
457 | 460 |
458 def TestUnit(self): | 461 def TestUnit(self): |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 "mojo_public_sysperf": TestMojoPublicSysPerf, | 702 "mojo_public_sysperf": TestMojoPublicSysPerf, |
700 "net": TestNet, "net_unittests": TestNet, | 703 "net": TestNet, "net_unittests": TestNet, |
701 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, | 704 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, |
702 "phonenumber": TestPhoneNumber, | 705 "phonenumber": TestPhoneNumber, |
703 "libphonenumber_unittests": TestPhoneNumber, | 706 "libphonenumber_unittests": TestPhoneNumber, |
704 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, | 707 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, |
705 "printing": TestPrinting, "printing_unittests": TestPrinting, | 708 "printing": TestPrinting, "printing_unittests": TestPrinting, |
706 "remoting": TestRemoting, "remoting_unittests": TestRemoting, | 709 "remoting": TestRemoting, "remoting_unittests": TestRemoting, |
707 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, | 710 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, |
708 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, | 711 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, |
| 712 "skia": TestSkia, "skia_unittests": TestSkia, |
709 "sql": TestSql, "sql_unittests": TestSql, | 713 "sql": TestSql, "sql_unittests": TestSql, |
710 "sync": TestSync, "sync_unit_tests": TestSync, | 714 "sync": TestSync, "sync_unit_tests": TestSync, |
711 "sync_integration_tests": TestSyncIntegration, | 715 "sync_integration_tests": TestSyncIntegration, |
712 "sync_integration": TestSyncIntegration, | 716 "sync_integration": TestSyncIntegration, |
713 "ui_base_unit": TestUIBaseUnit, "ui_base_unittests": TestUIBaseUnit, | 717 "ui_base_unit": TestUIBaseUnit, "ui_base_unittests": TestUIBaseUnit, |
714 "ui_chromeos": TestUIChromeOS, "ui_chromeos_unittests": TestUIChromeOS, | 718 "ui_chromeos": TestUIChromeOS, "ui_chromeos_unittests": TestUIChromeOS, |
715 "unit": TestUnit, "unit_tests": TestUnit, | 719 "unit": TestUnit, "unit_tests": TestUnit, |
716 "url": TestURL, "url_unittests": TestURL, | 720 "url": TestURL, "url_unittests": TestURL, |
717 "views": TestViews, "views_unittests": TestViews, | 721 "views": TestViews, "views_unittests": TestViews, |
718 "webkit": TestLayout, | 722 "webkit": TestLayout, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 | 796 |
793 for t in options.test: | 797 for t in options.test: |
794 tests = ChromeTests(options, args, t) | 798 tests = ChromeTests(options, args, t) |
795 ret = tests.Run() | 799 ret = tests.Run() |
796 if ret: return ret | 800 if ret: return ret |
797 return 0 | 801 return 0 |
798 | 802 |
799 | 803 |
800 if __name__ == "__main__": | 804 if __name__ == "__main__": |
801 sys.exit(_main()) | 805 sys.exit(_main()) |
OLD | NEW |