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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 def TestMojoApplicationManager(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): | |
418 return self.SimpleTest("mojo_view_manager_lib", | |
419 "mojo_view_manager_lib_unittests") | |
420 | |
421 def TestNet(self): | 417 def TestNet(self): |
422 return self.SimpleTest("net", "net_unittests") | 418 return self.SimpleTest("net", "net_unittests") |
423 | 419 |
424 def TestNetPerf(self): | 420 def TestNetPerf(self): |
425 return self.SimpleTest("net", "net_perftests") | 421 return self.SimpleTest("net", "net_perftests") |
426 | 422 |
427 def TestPhoneNumber(self): | 423 def TestPhoneNumber(self): |
428 return self.SimpleTest("phonenumber", "libphonenumber_unittests") | 424 return self.SimpleTest("phonenumber", "libphonenumber_unittests") |
429 | 425 |
430 def TestPPAPI(self): | 426 def TestPPAPI(self): |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 "mojo_common": TestMojoCommon, | 681 "mojo_common": TestMojoCommon, |
686 "mojo_js": TestMojoJS, | 682 "mojo_js": TestMojoJS, |
687 "mojo_system": TestMojoSystem, | 683 "mojo_system": TestMojoSystem, |
688 "mojo_public_system": TestMojoPublicSystem, | 684 "mojo_public_system": TestMojoPublicSystem, |
689 "mojo_public_utility": TestMojoPublicUtility, | 685 "mojo_public_utility": TestMojoPublicUtility, |
690 "mojo_public_bindings": TestMojoPublicBindings, | 686 "mojo_public_bindings": TestMojoPublicBindings, |
691 "mojo_public_env": TestMojoPublicEnv, | 687 "mojo_public_env": TestMojoPublicEnv, |
692 "mojo_public_sysperf": TestMojoPublicSysPerf, | 688 "mojo_public_sysperf": TestMojoPublicSysPerf, |
693 "mojo_application_manager": TestMojoApplicationManager, | 689 "mojo_application_manager": TestMojoApplicationManager, |
694 "mojo_view_manager": TestMojoViewManager, | 690 "mojo_view_manager": TestMojoViewManager, |
695 "mojo_view_manager_lib": TestMojoViewManagerLib, | |
696 "net": TestNet, "net_unittests": TestNet, | 691 "net": TestNet, "net_unittests": TestNet, |
697 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, | 692 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, |
698 "phonenumber": TestPhoneNumber, | 693 "phonenumber": TestPhoneNumber, |
699 "libphonenumber_unittests": TestPhoneNumber, | 694 "libphonenumber_unittests": TestPhoneNumber, |
700 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, | 695 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, |
701 "printing": TestPrinting, "printing_unittests": TestPrinting, | 696 "printing": TestPrinting, "printing_unittests": TestPrinting, |
702 "remoting": TestRemoting, "remoting_unittests": TestRemoting, | 697 "remoting": TestRemoting, "remoting_unittests": TestRemoting, |
703 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, | 698 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, |
704 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, | 699 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, |
705 "sql": TestSql, "sql_unittests": TestSql, | 700 "sql": TestSql, "sql_unittests": TestSql, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 | 776 |
782 for t in options.test: | 777 for t in options.test: |
783 tests = ChromeTests(options, args, t) | 778 tests = ChromeTests(options, args, t) |
784 ret = tests.Run() | 779 ret = tests.Run() |
785 if ret: return ret | 780 if ret: return ret |
786 return 0 | 781 return 0 |
787 | 782 |
788 | 783 |
789 if __name__ == "__main__": | 784 if __name__ == "__main__": |
790 sys.exit(_main()) | 785 sys.exit(_main()) |
OLD | NEW |