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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 | 355 |
356 def TestDisplay(self): | 356 def TestDisplay(self): |
357 return self.SimpleTest("display", "display_unittests") | 357 return self.SimpleTest("display", "display_unittests") |
358 | 358 |
359 def TestEvents(self): | 359 def TestEvents(self): |
360 return self.SimpleTest("events", "events_unittests") | 360 return self.SimpleTest("events", "events_unittests") |
361 | 361 |
362 def TestExtensions(self): | 362 def TestExtensions(self): |
363 return self.SimpleTest("extensions", "extensions_unittests") | 363 return self.SimpleTest("extensions", "extensions_unittests") |
364 | 364 |
365 def TestFFmpeg(self): | |
366 return self.SimpleTest("chrome", "ffmpeg_unittests") | |
367 | |
368 def TestFFmpegRegressions(self): | 365 def TestFFmpegRegressions(self): |
369 return self.SimpleTest("chrome", "ffmpeg_regression_tests") | 366 return self.SimpleTest("chrome", "ffmpeg_regression_tests") |
370 | 367 |
371 def TestGCM(self): | 368 def TestGCM(self): |
372 return self.SimpleTest("gcm", "gcm_unit_tests") | 369 return self.SimpleTest("gcm", "gcm_unit_tests") |
373 | 370 |
374 def TestGfx(self): | 371 def TestGfx(self): |
375 return self.SimpleTest("gfx", "gfx_unittests") | 372 return self.SimpleTest("gfx", "gfx_unittests") |
376 | 373 |
377 def TestGin(self): | 374 def TestGin(self): |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 "components": TestComponents,"components_unittests": TestComponents, | 668 "components": TestComponents,"components_unittests": TestComponents, |
672 "compositor": TestCompositor,"compositor_unittests": TestCompositor, | 669 "compositor": TestCompositor,"compositor_unittests": TestCompositor, |
673 "content": TestContent, "content_unittests": TestContent, | 670 "content": TestContent, "content_unittests": TestContent, |
674 "content_browsertests": TestContentBrowser, | 671 "content_browsertests": TestContentBrowser, |
675 "courgette": TestCourgette, "courgette_unittests": TestCourgette, | 672 "courgette": TestCourgette, "courgette_unittests": TestCourgette, |
676 "crypto": TestCrypto, "crypto_unittests": TestCrypto, | 673 "crypto": TestCrypto, "crypto_unittests": TestCrypto, |
677 "device": TestDevice, "device_unittests": TestDevice, | 674 "device": TestDevice, "device_unittests": TestDevice, |
678 "display": TestDisplay, "display_unittests": TestDisplay, | 675 "display": TestDisplay, "display_unittests": TestDisplay, |
679 "events": TestEvents, "events_unittests": TestEvents, | 676 "events": TestEvents, "events_unittests": TestEvents, |
680 "extensions": TestExtensions, "extensions_unittests": TestExtensions, | 677 "extensions": TestExtensions, "extensions_unittests": TestExtensions, |
681 "ffmpeg": TestFFmpeg, "ffmpeg_unittests": TestFFmpeg, | |
682 "ffmpeg_regression_tests": TestFFmpegRegressions, | 678 "ffmpeg_regression_tests": TestFFmpegRegressions, |
683 "gcm": TestGCM, "gcm_unit_tests": TestGCM, | 679 "gcm": TestGCM, "gcm_unit_tests": TestGCM, |
684 "gin": TestGin, "gin_unittests": TestGin, | 680 "gin": TestGin, "gin_unittests": TestGin, |
685 "gfx": TestGfx, "gfx_unittests": TestGfx, | 681 "gfx": TestGfx, "gfx_unittests": TestGfx, |
686 "google_apis": TestGoogleApis, | 682 "google_apis": TestGoogleApis, |
687 "gpu": TestGPU, "gpu_unittests": TestGPU, | 683 "gpu": TestGPU, "gpu_unittests": TestGPU, |
688 "ipc": TestIpc, "ipc_tests": TestIpc, | 684 "ipc": TestIpc, "ipc_tests": TestIpc, |
689 "installer_util": TestInstallerUtil, | 685 "installer_util": TestInstallerUtil, |
690 "interactive_ui": TestInteractiveUI, | 686 "interactive_ui": TestInteractiveUI, |
691 "jingle": TestJingle, "jingle_unittests": TestJingle, | 687 "jingle": TestJingle, "jingle_unittests": TestJingle, |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 | 792 |
797 for t in options.test: | 793 for t in options.test: |
798 tests = ChromeTests(options, args, t) | 794 tests = ChromeTests(options, args, t) |
799 ret = tests.Run() | 795 ret = tests.Run() |
800 if ret: return ret | 796 if ret: return ret |
801 return 0 | 797 return 0 |
802 | 798 |
803 | 799 |
804 if __name__ == "__main__": | 800 if __name__ == "__main__": |
805 sys.exit(_main()) | 801 sys.exit(_main()) |
OLD | NEW |