| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 377 |
| 378 def TestMojoSystem(self): | 378 def TestMojoSystem(self): |
| 379 return self.SimpleTest("mojo_system", "mojo_system_unittests") | 379 return self.SimpleTest("mojo_system", "mojo_system_unittests") |
| 380 | 380 |
| 381 def TestMojoPublicSystem(self): | 381 def TestMojoPublicSystem(self): |
| 382 return self.SimpleTest("mojo_public_system", | 382 return self.SimpleTest("mojo_public_system", |
| 383 "mojo_public_system_unittests") | 383 "mojo_public_system_unittests") |
| 384 | 384 |
| 385 def TestMojoPublicUtility(self): | 385 def TestMojoPublicUtility(self): |
| 386 return self.SimpleTest("mojo_public_utility", | 386 return self.SimpleTest("mojo_public_utility", |
| 387 "mojo_public_unittests_unittests") | 387 "mojo_public_utility_unittests") |
| 388 | 388 |
| 389 def TestMojoPublicBindings(self): | 389 def TestMojoPublicBindings(self): |
| 390 return self.SimpleTest("mojo_public_bindings", | 390 return self.SimpleTest("mojo_public_bindings", |
| 391 "mojo_public_bindings_unittests") | 391 "mojo_public_bindings_unittests") |
| 392 | 392 |
| 393 def TestMojoPublicEnv(self): | 393 def TestMojoPublicEnv(self): |
| 394 return self.SimpleTest("mojo_public_env", | 394 return self.SimpleTest("mojo_public_env", |
| 395 "mojo_public_environment_unittests") | 395 "mojo_public_environment_unittests") |
| 396 | 396 |
| 397 def TestMojoPublicSysPerf(self): | 397 def TestMojoPublicSysPerf(self): |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 | 726 |
| 727 for t in options.test: | 727 for t in options.test: |
| 728 tests = ChromeTests(options, args, t) | 728 tests = ChromeTests(options, args, t) |
| 729 ret = tests.Run() | 729 ret = tests.Run() |
| 730 if ret: return ret | 730 if ret: return ret |
| 731 return 0 | 731 return 0 |
| 732 | 732 |
| 733 | 733 |
| 734 if __name__ == "__main__": | 734 if __name__ == "__main__": |
| 735 sys.exit(_main()) | 735 sys.exit(_main()) |
| OLD | NEW |