| 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 optparse | 10 import optparse |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 | 282 |
| 283 def TestFFmpeg(self): | 283 def TestFFmpeg(self): |
| 284 return self.SimpleTest("chrome", "ffmpeg_unittests") | 284 return self.SimpleTest("chrome", "ffmpeg_unittests") |
| 285 | 285 |
| 286 def TestFFmpegRegressions(self): | 286 def TestFFmpegRegressions(self): |
| 287 return self.SimpleTest("chrome", "ffmpeg_regression_tests") | 287 return self.SimpleTest("chrome", "ffmpeg_regression_tests") |
| 288 | 288 |
| 289 def TestGPU(self): | 289 def TestGPU(self): |
| 290 return self.SimpleTest("gpu", "gpu_unittests") | 290 return self.SimpleTest("gpu", "gpu_unittests") |
| 291 | 291 |
| 292 def TestGURL(self): | |
| 293 return self.SimpleTest("chrome", "googleurl_unittests") | |
| 294 | |
| 295 def TestIpc(self): | 292 def TestIpc(self): |
| 296 return self.SimpleTest("ipc", "ipc_tests", | 293 return self.SimpleTest("ipc", "ipc_tests", |
| 297 valgrind_test_args=["--trace_children"]) | 294 valgrind_test_args=["--trace_children"]) |
| 298 | 295 |
| 299 def TestJingle(self): | 296 def TestJingle(self): |
| 300 return self.SimpleTest("chrome", "jingle_unittests") | 297 return self.SimpleTest("chrome", "jingle_unittests") |
| 301 | 298 |
| 302 def TestMedia(self): | 299 def TestMedia(self): |
| 303 return self.SimpleTest("chrome", "media_unittests") | 300 return self.SimpleTest("chrome", "media_unittests") |
| 304 | 301 |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 "chromeos": TestChromeOS, "chromeos_unittests": TestChromeOS, | 521 "chromeos": TestChromeOS, "chromeos_unittests": TestChromeOS, |
| 525 "components": TestComponents,"components_unittests": TestComponents, | 522 "components": TestComponents,"components_unittests": TestComponents, |
| 526 "compositor": TestCompositor,"compositor_unittests": TestCompositor, | 523 "compositor": TestCompositor,"compositor_unittests": TestCompositor, |
| 527 "content": TestContent, "content_unittests": TestContent, | 524 "content": TestContent, "content_unittests": TestContent, |
| 528 "content_browsertests": TestContentBrowser, | 525 "content_browsertests": TestContentBrowser, |
| 529 "courgette": TestCourgette, "courgette_unittests": TestCourgette, | 526 "courgette": TestCourgette, "courgette_unittests": TestCourgette, |
| 530 "crypto": TestCrypto, "crypto_unittests": TestCrypto, | 527 "crypto": TestCrypto, "crypto_unittests": TestCrypto, |
| 531 "device": TestDevice, "device_unittests": TestDevice, | 528 "device": TestDevice, "device_unittests": TestDevice, |
| 532 "ffmpeg": TestFFmpeg, "ffmpeg_unittests": TestFFmpeg, | 529 "ffmpeg": TestFFmpeg, "ffmpeg_unittests": TestFFmpeg, |
| 533 "ffmpeg_regression_tests": TestFFmpegRegressions, | 530 "ffmpeg_regression_tests": TestFFmpegRegressions, |
| 534 "googleurl": TestGURL, "googleurl_unittests": TestGURL, | |
| 535 "gpu": TestGPU, "gpu_unittests": TestGPU, | 531 "gpu": TestGPU, "gpu_unittests": TestGPU, |
| 536 "ipc": TestIpc, "ipc_tests": TestIpc, | 532 "ipc": TestIpc, "ipc_tests": TestIpc, |
| 537 "interactive_ui": TestInteractiveUI, | 533 "interactive_ui": TestInteractiveUI, |
| 538 "jingle": TestJingle, "jingle_unittests": TestJingle, | 534 "jingle": TestJingle, "jingle_unittests": TestJingle, |
| 539 "layout": TestLayout, "layout_tests": TestLayout, | 535 "layout": TestLayout, "layout_tests": TestLayout, |
| 540 "webkit": TestLayout, | 536 "webkit": TestLayout, |
| 541 "media": TestMedia, "media_unittests": TestMedia, | 537 "media": TestMedia, "media_unittests": TestMedia, |
| 542 "message_center": TestMessageCenter, | 538 "message_center": TestMessageCenter, |
| 543 "message_center_unittests" : TestMessageCenter, | 539 "message_center_unittests" : TestMessageCenter, |
| 544 "net": TestNet, "net_unittests": TestNet, | 540 "net": TestNet, "net_unittests": TestNet, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 | 611 |
| 616 for t in options.test: | 612 for t in options.test: |
| 617 tests = ChromeTests(options, args, t) | 613 tests = ChromeTests(options, args, t) |
| 618 ret = tests.Run() | 614 ret = tests.Run() |
| 619 if ret: return ret | 615 if ret: return ret |
| 620 return 0 | 616 return 0 |
| 621 | 617 |
| 622 | 618 |
| 623 if __name__ == "__main__": | 619 if __name__ == "__main__": |
| 624 sys.exit(_main()) | 620 sys.exit(_main()) |
| OLD | NEW |