| 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 def TestGPU(self): | 383 def TestGPU(self): |
| 384 return self.SimpleTest("gpu", "gpu_unittests") | 384 return self.SimpleTest("gpu", "gpu_unittests") |
| 385 | 385 |
| 386 def TestIpc(self): | 386 def TestIpc(self): |
| 387 return self.SimpleTest("ipc", "ipc_tests", | 387 return self.SimpleTest("ipc", "ipc_tests", |
| 388 valgrind_test_args=["--trace_children"]) | 388 valgrind_test_args=["--trace_children"]) |
| 389 | 389 |
| 390 def TestInstallerUtil(self): | 390 def TestInstallerUtil(self): |
| 391 return self.SimpleTest("installer_util", "installer_util_unittests") | 391 return self.SimpleTest("installer_util", "installer_util_unittests") |
| 392 | 392 |
| 393 def TestInstallStatic(self): |
| 394 return self.SimpleTest("install_static", "install_static_unittests") |
| 395 |
| 393 def TestJingle(self): | 396 def TestJingle(self): |
| 394 return self.SimpleTest("chrome", "jingle_unittests") | 397 return self.SimpleTest("chrome", "jingle_unittests") |
| 395 | 398 |
| 396 def TestKeyboard(self): | 399 def TestKeyboard(self): |
| 397 return self.SimpleTest("keyboard", "keyboard_unittests") | 400 return self.SimpleTest("keyboard", "keyboard_unittests") |
| 398 | 401 |
| 399 def TestMedia(self): | 402 def TestMedia(self): |
| 400 return self.SimpleTest("chrome", "media_unittests") | 403 return self.SimpleTest("chrome", "media_unittests") |
| 401 | 404 |
| 402 def TestMessageCenter(self): | 405 def TestMessageCenter(self): |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 "extensions": TestExtensions, "extensions_unittests": TestExtensions, | 674 "extensions": TestExtensions, "extensions_unittests": TestExtensions, |
| 672 "ffmpeg_regression_tests": TestFFmpegRegressions, | 675 "ffmpeg_regression_tests": TestFFmpegRegressions, |
| 673 "gcm": TestGCM, "gcm_unit_tests": TestGCM, | 676 "gcm": TestGCM, "gcm_unit_tests": TestGCM, |
| 674 "gin": TestGin, "gin_unittests": TestGin, | 677 "gin": TestGin, "gin_unittests": TestGin, |
| 675 "gfx": TestGfx, "gfx_unittests": TestGfx, | 678 "gfx": TestGfx, "gfx_unittests": TestGfx, |
| 676 "google_apis": TestGoogleApis, | 679 "google_apis": TestGoogleApis, |
| 677 "gpu": TestGPU, "gpu_unittests": TestGPU, | 680 "gpu": TestGPU, "gpu_unittests": TestGPU, |
| 678 "ipc": TestIpc, "ipc_tests": TestIpc, | 681 "ipc": TestIpc, "ipc_tests": TestIpc, |
| 679 "installer_util": TestInstallerUtil, | 682 "installer_util": TestInstallerUtil, |
| 680 "installer_util_unittests": TestInstallerUtil, | 683 "installer_util_unittests": TestInstallerUtil, |
| 684 "install_static_unittests": TestInstallStatic, |
| 681 "interactive_ui": TestInteractiveUI, | 685 "interactive_ui": TestInteractiveUI, |
| 682 "jingle": TestJingle, "jingle_unittests": TestJingle, | 686 "jingle": TestJingle, "jingle_unittests": TestJingle, |
| 683 "keyboard": TestKeyboard, "keyboard_unittests": TestKeyboard, | 687 "keyboard": TestKeyboard, "keyboard_unittests": TestKeyboard, |
| 684 "layout": TestLayout, "layout_tests": TestLayout, | 688 "layout": TestLayout, "layout_tests": TestLayout, |
| 685 "media": TestMedia, "media_unittests": TestMedia, | 689 "media": TestMedia, "media_unittests": TestMedia, |
| 686 "message_center": TestMessageCenter, | 690 "message_center": TestMessageCenter, |
| 687 "message_center_unittests" : TestMessageCenter, | 691 "message_center_unittests" : TestMessageCenter, |
| 688 "midi": TestMidi, "midi_unittests": TestMidi, | 692 "midi": TestMidi, "midi_unittests": TestMidi, |
| 689 "mojo_common": TestMojoCommon, | 693 "mojo_common": TestMojoCommon, |
| 690 "mojo_common_unittests": TestMojoCommon, | 694 "mojo_common_unittests": TestMojoCommon, |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 | 795 |
| 792 for t in options.test: | 796 for t in options.test: |
| 793 tests = ChromeTests(options, args, t) | 797 tests = ChromeTests(options, args, t) |
| 794 ret = tests.Run() | 798 ret = tests.Run() |
| 795 if ret: return ret | 799 if ret: return ret |
| 796 return 0 | 800 return 0 |
| 797 | 801 |
| 798 | 802 |
| 799 if __name__ == "__main__": | 803 if __name__ == "__main__": |
| 800 sys.exit(_main()) | 804 sys.exit(_main()) |
| OLD | NEW |