Chromium Code Reviews| 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 397 "mojo_public_system_unittests") | 397 "mojo_public_system_unittests") |
| 398 | 398 |
| 399 def TestMojoPublicSysPerf(self): | 399 def TestMojoPublicSysPerf(self): |
| 400 return self.SimpleTest("mojo_public_sysperf", | 400 return self.SimpleTest("mojo_public_sysperf", |
| 401 "mojo_public_system_perftests") | 401 "mojo_public_system_perftests") |
| 402 | 402 |
| 403 def TestMojoPublicUtility(self): | 403 def TestMojoPublicUtility(self): |
| 404 return self.SimpleTest("mojo_public_utility", | 404 return self.SimpleTest("mojo_public_utility", |
| 405 "mojo_public_utility_unittests") | 405 "mojo_public_utility_unittests") |
| 406 | 406 |
| 407 def TestMojoServiceManager(self): | 407 def TestMojoApplicationManager(self): |
| 408 return self.SimpleTest("mojo_application_manager", | 408 return self.SimpleTest("mojo_application_manager", |
| 409 "mojo_application_manager_unittests") | 409 "mojo_application_manager_unittests") |
| 410 | 410 |
| 411 def TestMojoSystem(self): | 411 def TestMojoSystem(self): |
| 412 return self.SimpleTest("mojo_system", "mojo_system_unittests") | 412 return self.SimpleTest("mojo_system", "mojo_system_unittests") |
| 413 | 413 |
| 414 def TestMojoViewManager(self): | 414 def TestMojoViewManager(self): |
| 415 return self.SimpleTest("mojo_view_manager", "mojo_view_manager_unittests") | 415 return self.SimpleTest("mojo_view_manager", "mojo_view_manager_unittests") |
| 416 | 416 |
| 417 def TestMojoViewManagerLib(self): | 417 def TestMojoViewManagerLib(self): |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 683 "message_center_unittests" : TestMessageCenter, | 683 "message_center_unittests" : TestMessageCenter, |
| 684 "mojo_apps_js": TestMojoAppsJS, | 684 "mojo_apps_js": TestMojoAppsJS, |
| 685 "mojo_common": TestMojoCommon, | 685 "mojo_common": TestMojoCommon, |
| 686 "mojo_js": TestMojoJS, | 686 "mojo_js": TestMojoJS, |
| 687 "mojo_system": TestMojoSystem, | 687 "mojo_system": TestMojoSystem, |
| 688 "mojo_public_system": TestMojoPublicSystem, | 688 "mojo_public_system": TestMojoPublicSystem, |
| 689 "mojo_public_utility": TestMojoPublicUtility, | 689 "mojo_public_utility": TestMojoPublicUtility, |
| 690 "mojo_public_bindings": TestMojoPublicBindings, | 690 "mojo_public_bindings": TestMojoPublicBindings, |
| 691 "mojo_public_env": TestMojoPublicEnv, | 691 "mojo_public_env": TestMojoPublicEnv, |
| 692 "mojo_public_sysperf": TestMojoPublicSysPerf, | 692 "mojo_public_sysperf": TestMojoPublicSysPerf, |
| 693 "mojo_application_manager": TestMojoServiceManager, | 693 "mojo_application_manager": TestMojoApplicationManager, |
| 694 "mojo_view_manager": TestMojoViewManager, | 694 "mojo_view_manager": TestMojoViewManager, |
| 695 "mojo_view_manager_lib": TestMojoViewManagerLib, | 695 "mojo_view_manager_lib": TestMojoViewManagerLib, |
|
oshima
2014/08/13 16:55:21
are you going to remove this in separate CL?
| |
| 696 "net": TestNet, "net_unittests": TestNet, | 696 "net": TestNet, "net_unittests": TestNet, |
| 697 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, | 697 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, |
| 698 "phonenumber": TestPhoneNumber, | 698 "phonenumber": TestPhoneNumber, |
| 699 "libphonenumber_unittests": TestPhoneNumber, | 699 "libphonenumber_unittests": TestPhoneNumber, |
| 700 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, | 700 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, |
| 701 "printing": TestPrinting, "printing_unittests": TestPrinting, | 701 "printing": TestPrinting, "printing_unittests": TestPrinting, |
| 702 "remoting": TestRemoting, "remoting_unittests": TestRemoting, | 702 "remoting": TestRemoting, "remoting_unittests": TestRemoting, |
| 703 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, | 703 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, |
| 704 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, | 704 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, |
| 705 "sql": TestSql, "sql_unittests": TestSql, | 705 "sql": TestSql, "sql_unittests": TestSql, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 781 | 781 |
| 782 for t in options.test: | 782 for t in options.test: |
| 783 tests = ChromeTests(options, args, t) | 783 tests = ChromeTests(options, args, t) |
| 784 ret = tests.Run() | 784 ret = tests.Run() |
| 785 if ret: return ret | 785 if ret: return ret |
| 786 return 0 | 786 return 0 |
| 787 | 787 |
| 788 | 788 |
| 789 if __name__ == "__main__": | 789 if __name__ == "__main__": |
| 790 sys.exit(_main()) | 790 sys.exit(_main()) |
| OLD | NEW |