| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 295 |
| 296 def TestEvents(self): | 296 def TestEvents(self): |
| 297 return self.SimpleTest("events", "events_unittests") | 297 return self.SimpleTest("events", "events_unittests") |
| 298 | 298 |
| 299 def TestFFmpeg(self): | 299 def TestFFmpeg(self): |
| 300 return self.SimpleTest("chrome", "ffmpeg_unittests") | 300 return self.SimpleTest("chrome", "ffmpeg_unittests") |
| 301 | 301 |
| 302 def TestFFmpegRegressions(self): | 302 def TestFFmpegRegressions(self): |
| 303 return self.SimpleTest("chrome", "ffmpeg_regression_tests") | 303 return self.SimpleTest("chrome", "ffmpeg_regression_tests") |
| 304 | 304 |
| 305 def TestGCM(self): |
| 306 return self.SimpleTest("gcm", "gcm_unit_tests") |
| 307 |
| 305 def TestGPU(self): | 308 def TestGPU(self): |
| 306 return self.SimpleTest("gpu", "gpu_unittests") | 309 return self.SimpleTest("gpu", "gpu_unittests") |
| 307 | 310 |
| 308 def TestIpc(self): | 311 def TestIpc(self): |
| 309 return self.SimpleTest("ipc", "ipc_tests", | 312 return self.SimpleTest("ipc", "ipc_tests", |
| 310 valgrind_test_args=["--trace_children"]) | 313 valgrind_test_args=["--trace_children"]) |
| 311 | 314 |
| 312 def TestJingle(self): | 315 def TestJingle(self): |
| 313 return self.SimpleTest("chrome", "jingle_unittests") | 316 return self.SimpleTest("chrome", "jingle_unittests") |
| 314 | 317 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 "components": TestComponents,"components_unittests": TestComponents, | 550 "components": TestComponents,"components_unittests": TestComponents, |
| 548 "compositor": TestCompositor,"compositor_unittests": TestCompositor, | 551 "compositor": TestCompositor,"compositor_unittests": TestCompositor, |
| 549 "content": TestContent, "content_unittests": TestContent, | 552 "content": TestContent, "content_unittests": TestContent, |
| 550 "content_browsertests": TestContentBrowser, | 553 "content_browsertests": TestContentBrowser, |
| 551 "courgette": TestCourgette, "courgette_unittests": TestCourgette, | 554 "courgette": TestCourgette, "courgette_unittests": TestCourgette, |
| 552 "crypto": TestCrypto, "crypto_unittests": TestCrypto, | 555 "crypto": TestCrypto, "crypto_unittests": TestCrypto, |
| 553 "device": TestDevice, "device_unittests": TestDevice, | 556 "device": TestDevice, "device_unittests": TestDevice, |
| 554 "events": TestEvents, "events_unittests": TestEvents, | 557 "events": TestEvents, "events_unittests": TestEvents, |
| 555 "ffmpeg": TestFFmpeg, "ffmpeg_unittests": TestFFmpeg, | 558 "ffmpeg": TestFFmpeg, "ffmpeg_unittests": TestFFmpeg, |
| 556 "ffmpeg_regression_tests": TestFFmpegRegressions, | 559 "ffmpeg_regression_tests": TestFFmpegRegressions, |
| 560 "gcm": TestGCM, "gcm_unit_tests": TestGCM, |
| 557 "gpu": TestGPU, "gpu_unittests": TestGPU, | 561 "gpu": TestGPU, "gpu_unittests": TestGPU, |
| 558 "ipc": TestIpc, "ipc_tests": TestIpc, | 562 "ipc": TestIpc, "ipc_tests": TestIpc, |
| 559 "interactive_ui": TestInteractiveUI, | 563 "interactive_ui": TestInteractiveUI, |
| 560 "jingle": TestJingle, "jingle_unittests": TestJingle, | 564 "jingle": TestJingle, "jingle_unittests": TestJingle, |
| 561 "layout": TestLayout, "layout_tests": TestLayout, | 565 "layout": TestLayout, "layout_tests": TestLayout, |
| 562 "webkit": TestLayout, | 566 "webkit": TestLayout, |
| 563 "media": TestMedia, "media_unittests": TestMedia, | 567 "media": TestMedia, "media_unittests": TestMedia, |
| 564 "message_center": TestMessageCenter, | 568 "message_center": TestMessageCenter, |
| 565 "message_center_unittests" : TestMessageCenter, | 569 "message_center_unittests" : TestMessageCenter, |
| 566 "net": TestNet, "net_unittests": TestNet, | 570 "net": TestNet, "net_unittests": TestNet, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 | 653 |
| 650 for t in options.test: | 654 for t in options.test: |
| 651 tests = ChromeTests(options, args, t) | 655 tests = ChromeTests(options, args, t) |
| 652 ret = tests.Run() | 656 ret = tests.Run() |
| 653 if ret: return ret | 657 if ret: return ret |
| 654 return 0 | 658 return 0 |
| 655 | 659 |
| 656 | 660 |
| 657 if __name__ == "__main__": | 661 if __name__ == "__main__": |
| 658 sys.exit(_main()) | 662 sys.exit(_main()) |
| OLD | NEW |