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 | |
452 def TestSql(self): | 449 def TestSql(self): |
453 return self.SimpleTest("chrome", "sql_unittests") | 450 return self.SimpleTest("chrome", "sql_unittests") |
454 | 451 |
455 def TestSync(self): | 452 def TestSync(self): |
456 return self.SimpleTest("chrome", "sync_unit_tests") | 453 return self.SimpleTest("chrome", "sync_unit_tests") |
457 | 454 |
458 def TestLinuxSandbox(self): | 455 def TestLinuxSandbox(self): |
459 return self.SimpleTest("sandbox", "sandbox_linux_unittests") | 456 return self.SimpleTest("sandbox", "sandbox_linux_unittests") |
460 | 457 |
461 def TestUnit(self): | 458 def TestUnit(self): |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 "mojo_public_sysperf": TestMojoPublicSysPerf, | 699 "mojo_public_sysperf": TestMojoPublicSysPerf, |
703 "net": TestNet, "net_unittests": TestNet, | 700 "net": TestNet, "net_unittests": TestNet, |
704 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, | 701 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, |
705 "phonenumber": TestPhoneNumber, | 702 "phonenumber": TestPhoneNumber, |
706 "libphonenumber_unittests": TestPhoneNumber, | 703 "libphonenumber_unittests": TestPhoneNumber, |
707 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, | 704 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, |
708 "printing": TestPrinting, "printing_unittests": TestPrinting, | 705 "printing": TestPrinting, "printing_unittests": TestPrinting, |
709 "remoting": TestRemoting, "remoting_unittests": TestRemoting, | 706 "remoting": TestRemoting, "remoting_unittests": TestRemoting, |
710 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, | 707 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, |
711 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, | 708 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, |
712 "skia": TestSkia, "skia_unittests": TestSkia, | |
713 "sql": TestSql, "sql_unittests": TestSql, | 709 "sql": TestSql, "sql_unittests": TestSql, |
714 "sync": TestSync, "sync_unit_tests": TestSync, | 710 "sync": TestSync, "sync_unit_tests": TestSync, |
715 "sync_integration_tests": TestSyncIntegration, | 711 "sync_integration_tests": TestSyncIntegration, |
716 "sync_integration": TestSyncIntegration, | 712 "sync_integration": TestSyncIntegration, |
717 "ui_base_unit": TestUIBaseUnit, "ui_base_unittests": TestUIBaseUnit, | 713 "ui_base_unit": TestUIBaseUnit, "ui_base_unittests": TestUIBaseUnit, |
718 "ui_chromeos": TestUIChromeOS, "ui_chromeos_unittests": TestUIChromeOS, | 714 "ui_chromeos": TestUIChromeOS, "ui_chromeos_unittests": TestUIChromeOS, |
719 "unit": TestUnit, "unit_tests": TestUnit, | 715 "unit": TestUnit, "unit_tests": TestUnit, |
720 "url": TestURL, "url_unittests": TestURL, | 716 "url": TestURL, "url_unittests": TestURL, |
721 "views": TestViews, "views_unittests": TestViews, | 717 "views": TestViews, "views_unittests": TestViews, |
722 "webkit": TestLayout, | 718 "webkit": TestLayout, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 | 792 |
797 for t in options.test: | 793 for t in options.test: |
798 tests = ChromeTests(options, args, t) | 794 tests = ChromeTests(options, args, t) |
799 ret = tests.Run() | 795 ret = tests.Run() |
800 if ret: return ret | 796 if ret: return ret |
801 return 0 | 797 return 0 |
802 | 798 |
803 | 799 |
804 if __name__ == "__main__": | 800 if __name__ == "__main__": |
805 sys.exit(_main()) | 801 sys.exit(_main()) |
OLD | NEW |