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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 393 | 393 |
| 394 def TestInstallStatic(self): | 394 def TestInstallStatic(self): |
| 395 return self.SimpleTest("install_static", "install_static_unittests") | 395 return self.SimpleTest("install_static", "install_static_unittests") |
| 396 | 396 |
| 397 def TestJingle(self): | 397 def TestJingle(self): |
| 398 return self.SimpleTest("chrome", "jingle_unittests") | 398 return self.SimpleTest("chrome", "jingle_unittests") |
| 399 | 399 |
| 400 def TestKeyboard(self): | 400 def TestKeyboard(self): |
| 401 return self.SimpleTest("keyboard", "keyboard_unittests") | 401 return self.SimpleTest("keyboard", "keyboard_unittests") |
| 402 | 402 |
| 403 def TestLatency(self): | |
| 404 return self.SimpleTest("latency", "latency_unittests") | |
|
Dirk Pranke
2017/04/14 22:32:05
I'm pretty sure this file isn't used any more ...
| |
| 405 | |
| 403 def TestMedia(self): | 406 def TestMedia(self): |
| 404 return self.SimpleTest("chrome", "media_unittests") | 407 return self.SimpleTest("chrome", "media_unittests") |
| 405 | 408 |
| 406 def TestMessageCenter(self): | 409 def TestMessageCenter(self): |
| 407 return self.SimpleTest("message_center", "message_center_unittests") | 410 return self.SimpleTest("message_center", "message_center_unittests") |
| 408 | 411 |
| 409 def TestMidi(self): | 412 def TestMidi(self): |
| 410 return self.SimpleTest("chrome", "midi_unittests") | 413 return self.SimpleTest("chrome", "midi_unittests") |
| 411 | 414 |
| 412 def TestMojoCommon(self): | 415 def TestMojoCommon(self): |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 679 "gfx": TestGfx, "gfx_unittests": TestGfx, | 682 "gfx": TestGfx, "gfx_unittests": TestGfx, |
| 680 "google_apis": TestGoogleApis, | 683 "google_apis": TestGoogleApis, |
| 681 "gpu": TestGPU, "gpu_unittests": TestGPU, | 684 "gpu": TestGPU, "gpu_unittests": TestGPU, |
| 682 "ipc": TestIpc, "ipc_tests": TestIpc, | 685 "ipc": TestIpc, "ipc_tests": TestIpc, |
| 683 "installer_util": TestInstallerUtil, | 686 "installer_util": TestInstallerUtil, |
| 684 "installer_util_unittests": TestInstallerUtil, | 687 "installer_util_unittests": TestInstallerUtil, |
| 685 "install_static_unittests": TestInstallStatic, | 688 "install_static_unittests": TestInstallStatic, |
| 686 "interactive_ui": TestInteractiveUI, | 689 "interactive_ui": TestInteractiveUI, |
| 687 "jingle": TestJingle, "jingle_unittests": TestJingle, | 690 "jingle": TestJingle, "jingle_unittests": TestJingle, |
| 688 "keyboard": TestKeyboard, "keyboard_unittests": TestKeyboard, | 691 "keyboard": TestKeyboard, "keyboard_unittests": TestKeyboard, |
| 692 "latency": TestLatency, "latency_unittests": TestLatency, | |
| 689 "layout": TestLayout, "layout_tests": TestLayout, | 693 "layout": TestLayout, "layout_tests": TestLayout, |
| 690 "media": TestMedia, "media_unittests": TestMedia, | 694 "media": TestMedia, "media_unittests": TestMedia, |
| 691 "message_center": TestMessageCenter, | 695 "message_center": TestMessageCenter, |
| 692 "message_center_unittests" : TestMessageCenter, | 696 "message_center_unittests" : TestMessageCenter, |
| 693 "midi": TestMidi, "midi_unittests": TestMidi, | 697 "midi": TestMidi, "midi_unittests": TestMidi, |
| 694 "mojo_common": TestMojoCommon, | 698 "mojo_common": TestMojoCommon, |
| 695 "mojo_common_unittests": TestMojoCommon, | 699 "mojo_common_unittests": TestMojoCommon, |
| 696 "mojo_system": TestMojoSystem, | 700 "mojo_system": TestMojoSystem, |
| 697 "mojo_system_unittests": TestMojoSystem, | 701 "mojo_system_unittests": TestMojoSystem, |
| 698 "mojo_public_system": TestMojoPublicSystem, | 702 "mojo_public_system": TestMojoPublicSystem, |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 850 return 0 | 854 return 0 |
| 851 | 855 |
| 852 tests = ChromeTests(options, args, t) | 856 tests = ChromeTests(options, args, t) |
| 853 ret = tests.Run() | 857 ret = tests.Run() |
| 854 if ret: return ret | 858 if ret: return ret |
| 855 return 0 | 859 return 0 |
| 856 | 860 |
| 857 | 861 |
| 858 if __name__ == "__main__": | 862 if __name__ == "__main__": |
| 859 sys.exit(_main()) | 863 sys.exit(_main()) |
| OLD | NEW |