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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 274 |
275 def TestCourgette(self): | 275 def TestCourgette(self): |
276 return self.SimpleTest("courgette", "courgette_unittests") | 276 return self.SimpleTest("courgette", "courgette_unittests") |
277 | 277 |
278 def TestCrypto(self): | 278 def TestCrypto(self): |
279 return self.SimpleTest("crypto", "crypto_unittests") | 279 return self.SimpleTest("crypto", "crypto_unittests") |
280 | 280 |
281 def TestDevice(self): | 281 def TestDevice(self): |
282 return self.SimpleTest("device", "device_unittests") | 282 return self.SimpleTest("device", "device_unittests") |
283 | 283 |
| 284 def TestEvents(self): |
| 285 return self.SimpleTest("events", "events_unittests") |
| 286 |
284 def TestFFmpeg(self): | 287 def TestFFmpeg(self): |
285 return self.SimpleTest("chrome", "ffmpeg_unittests") | 288 return self.SimpleTest("chrome", "ffmpeg_unittests") |
286 | 289 |
287 def TestFFmpegRegressions(self): | 290 def TestFFmpegRegressions(self): |
288 return self.SimpleTest("chrome", "ffmpeg_regression_tests") | 291 return self.SimpleTest("chrome", "ffmpeg_regression_tests") |
289 | 292 |
290 def TestGPU(self): | 293 def TestGPU(self): |
291 return self.SimpleTest("gpu", "gpu_unittests") | 294 return self.SimpleTest("gpu", "gpu_unittests") |
292 | 295 |
293 def TestIpc(self): | 296 def TestIpc(self): |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 "base": TestBase, "base_unittests": TestBase, | 529 "base": TestBase, "base_unittests": TestBase, |
527 "browser": TestBrowser, "browser_tests": TestBrowser, | 530 "browser": TestBrowser, "browser_tests": TestBrowser, |
528 "chromeos": TestChromeOS, "chromeos_unittests": TestChromeOS, | 531 "chromeos": TestChromeOS, "chromeos_unittests": TestChromeOS, |
529 "components": TestComponents,"components_unittests": TestComponents, | 532 "components": TestComponents,"components_unittests": TestComponents, |
530 "compositor": TestCompositor,"compositor_unittests": TestCompositor, | 533 "compositor": TestCompositor,"compositor_unittests": TestCompositor, |
531 "content": TestContent, "content_unittests": TestContent, | 534 "content": TestContent, "content_unittests": TestContent, |
532 "content_browsertests": TestContentBrowser, | 535 "content_browsertests": TestContentBrowser, |
533 "courgette": TestCourgette, "courgette_unittests": TestCourgette, | 536 "courgette": TestCourgette, "courgette_unittests": TestCourgette, |
534 "crypto": TestCrypto, "crypto_unittests": TestCrypto, | 537 "crypto": TestCrypto, "crypto_unittests": TestCrypto, |
535 "device": TestDevice, "device_unittests": TestDevice, | 538 "device": TestDevice, "device_unittests": TestDevice, |
| 539 "events": TestEvents, "events_unittests": TestEvents, |
536 "ffmpeg": TestFFmpeg, "ffmpeg_unittests": TestFFmpeg, | 540 "ffmpeg": TestFFmpeg, "ffmpeg_unittests": TestFFmpeg, |
537 "ffmpeg_regression_tests": TestFFmpegRegressions, | 541 "ffmpeg_regression_tests": TestFFmpegRegressions, |
538 "gpu": TestGPU, "gpu_unittests": TestGPU, | 542 "gpu": TestGPU, "gpu_unittests": TestGPU, |
539 "ipc": TestIpc, "ipc_tests": TestIpc, | 543 "ipc": TestIpc, "ipc_tests": TestIpc, |
540 "interactive_ui": TestInteractiveUI, | 544 "interactive_ui": TestInteractiveUI, |
541 "jingle": TestJingle, "jingle_unittests": TestJingle, | 545 "jingle": TestJingle, "jingle_unittests": TestJingle, |
542 "layout": TestLayout, "layout_tests": TestLayout, | 546 "layout": TestLayout, "layout_tests": TestLayout, |
543 "webkit": TestLayout, | 547 "webkit": TestLayout, |
544 "media": TestMedia, "media_unittests": TestMedia, | 548 "media": TestMedia, "media_unittests": TestMedia, |
545 "message_center": TestMessageCenter, | 549 "message_center": TestMessageCenter, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 | 628 |
625 for t in options.test: | 629 for t in options.test: |
626 tests = ChromeTests(options, args, t) | 630 tests = ChromeTests(options, args, t) |
627 ret = tests.Run() | 631 ret = tests.Run() |
628 if ret: return ret | 632 if ret: return ret |
629 return 0 | 633 return 0 |
630 | 634 |
631 | 635 |
632 if __name__ == "__main__": | 636 if __name__ == "__main__": |
633 sys.exit(_main()) | 637 sys.exit(_main()) |
OLD | NEW |