| 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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 def TestMidi(self): | 403 def TestMidi(self): |
| 404 return self.SimpleTest("chrome", "midi_unittests") | 404 return self.SimpleTest("chrome", "midi_unittests") |
| 405 | 405 |
| 406 def TestMojoCommon(self): | 406 def TestMojoCommon(self): |
| 407 return self.SimpleTest("mojo_common", "mojo_common_unittests") | 407 return self.SimpleTest("mojo_common", "mojo_common_unittests") |
| 408 | 408 |
| 409 def TestMojoPublicBindings(self): | 409 def TestMojoPublicBindings(self): |
| 410 return self.SimpleTest("mojo_public_bindings", | 410 return self.SimpleTest("mojo_public_bindings", |
| 411 "mojo_public_bindings_unittests") | 411 "mojo_public_bindings_unittests") |
| 412 | 412 |
| 413 def TestMojoPublicEnv(self): | |
| 414 return self.SimpleTest("mojo_public_env", | |
| 415 "mojo_public_environment_unittests") | |
| 416 | |
| 417 def TestMojoPublicSystem(self): | 413 def TestMojoPublicSystem(self): |
| 418 return self.SimpleTest("mojo_public_system", | 414 return self.SimpleTest("mojo_public_system", |
| 419 "mojo_public_system_unittests") | 415 "mojo_public_system_unittests") |
| 420 | 416 |
| 421 def TestMojoPublicSysPerf(self): | 417 def TestMojoPublicSysPerf(self): |
| 422 return self.SimpleTest("mojo_public_sysperf", | 418 return self.SimpleTest("mojo_public_sysperf", |
| 423 "mojo_public_system_perftests") | 419 "mojo_public_system_perftests") |
| 424 | 420 |
| 425 def TestMojoPublicUtility(self): | 421 def TestMojoPublicUtility(self): |
| 426 return self.SimpleTest("mojo_public_utility", | 422 return self.SimpleTest("mojo_public_utility", |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 "mojo_common": TestMojoCommon, | 696 "mojo_common": TestMojoCommon, |
| 701 "mojo_common_unittests": TestMojoCommon, | 697 "mojo_common_unittests": TestMojoCommon, |
| 702 "mojo_system": TestMojoSystem, | 698 "mojo_system": TestMojoSystem, |
| 703 "mojo_system_unittests": TestMojoSystem, | 699 "mojo_system_unittests": TestMojoSystem, |
| 704 "mojo_public_system": TestMojoPublicSystem, | 700 "mojo_public_system": TestMojoPublicSystem, |
| 705 "mojo_public_system_unittests": TestMojoPublicSystem, | 701 "mojo_public_system_unittests": TestMojoPublicSystem, |
| 706 "mojo_public_utility": TestMojoPublicUtility, | 702 "mojo_public_utility": TestMojoPublicUtility, |
| 707 "mojo_public_utility_unittests": TestMojoPublicUtility, | 703 "mojo_public_utility_unittests": TestMojoPublicUtility, |
| 708 "mojo_public_bindings": TestMojoPublicBindings, | 704 "mojo_public_bindings": TestMojoPublicBindings, |
| 709 "mojo_public_bindings_unittests": TestMojoPublicBindings, | 705 "mojo_public_bindings_unittests": TestMojoPublicBindings, |
| 710 "mojo_public_env": TestMojoPublicEnv, | |
| 711 "mojo_public_environment_unittests": TestMojoPublicEnv, | |
| 712 "mojo_public_sysperf": TestMojoPublicSysPerf, | 706 "mojo_public_sysperf": TestMojoPublicSysPerf, |
| 713 "net": TestNet, "net_unittests": TestNet, | 707 "net": TestNet, "net_unittests": TestNet, |
| 714 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, | 708 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, |
| 715 "phonenumber": TestPhoneNumber, | 709 "phonenumber": TestPhoneNumber, |
| 716 "libphonenumber_unittests": TestPhoneNumber, | 710 "libphonenumber_unittests": TestPhoneNumber, |
| 717 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, | 711 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, |
| 718 "printing": TestPrinting, "printing_unittests": TestPrinting, | 712 "printing": TestPrinting, "printing_unittests": TestPrinting, |
| 719 "remoting": TestRemoting, "remoting_unittests": TestRemoting, | 713 "remoting": TestRemoting, "remoting_unittests": TestRemoting, |
| 720 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, | 714 "safe_browsing": TestSafeBrowsing, "safe_browsing_tests": TestSafeBrowsing, |
| 721 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, | 715 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 | 801 |
| 808 for t in options.test: | 802 for t in options.test: |
| 809 tests = ChromeTests(options, args, t) | 803 tests = ChromeTests(options, args, t) |
| 810 ret = tests.Run() | 804 ret = tests.Run() |
| 811 if ret: return ret | 805 if ret: return ret |
| 812 return 0 | 806 return 0 |
| 813 | 807 |
| 814 | 808 |
| 815 if __name__ == "__main__": | 809 if __name__ == "__main__": |
| 816 sys.exit(_main()) | 810 sys.exit(_main()) |
| OLD | NEW |