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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 312 |
313 def TestCacheInvalidation(self): | 313 def TestCacheInvalidation(self): |
314 return self.SimpleTest("cacheinvalidation", "cacheinvalidation_unittests") | 314 return self.SimpleTest("cacheinvalidation", "cacheinvalidation_unittests") |
315 | 315 |
316 def TestCast(self): | 316 def TestCast(self): |
317 return self.SimpleTest("chrome", "cast_unittests") | 317 return self.SimpleTest("chrome", "cast_unittests") |
318 | 318 |
319 def TestCC(self): | 319 def TestCC(self): |
320 return self.SimpleTest("cc", "cc_unittests") | 320 return self.SimpleTest("cc", "cc_unittests") |
321 | 321 |
322 def TestChromeApp(self): | |
323 return self.SimpleTest("chrome_app", "chrome_app_unittests") | |
324 | |
325 def TestChromeElf(self): | 322 def TestChromeElf(self): |
326 return self.SimpleTest("chrome_elf", "chrome_elf_unittests") | 323 return self.SimpleTest("chrome_elf", "chrome_elf_unittests") |
327 | 324 |
328 def TestChromeDriver(self): | 325 def TestChromeDriver(self): |
329 return self.SimpleTest("chromedriver", "chromedriver_unittests") | 326 return self.SimpleTest("chromedriver", "chromedriver_unittests") |
330 | 327 |
331 def TestChromeOS(self): | 328 def TestChromeOS(self): |
332 return self.SimpleTest("chromeos", "chromeos_unittests") | 329 return self.SimpleTest("chromeos", "chromeos_unittests") |
333 | 330 |
334 def TestCloudPrint(self): | 331 def TestCloudPrint(self): |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 "ash": TestAsh, "ash_unittests": TestAsh, | 654 "ash": TestAsh, "ash_unittests": TestAsh, |
658 "aura": TestAura, "aura_unittests": TestAura, | 655 "aura": TestAura, "aura_unittests": TestAura, |
659 "base": TestBase, "base_unittests": TestBase, | 656 "base": TestBase, "base_unittests": TestBase, |
660 "blink_heap": TestBlinkHeap, | 657 "blink_heap": TestBlinkHeap, |
661 "blink_platform": TestBlinkPlatform, | 658 "blink_platform": TestBlinkPlatform, |
662 "browser": TestBrowser, "browser_tests": TestBrowser, | 659 "browser": TestBrowser, "browser_tests": TestBrowser, |
663 "cacheinvalidation": TestCacheInvalidation, | 660 "cacheinvalidation": TestCacheInvalidation, |
664 "cacheinvalidation_unittests": TestCacheInvalidation, | 661 "cacheinvalidation_unittests": TestCacheInvalidation, |
665 "cast": TestCast, "cast_unittests": TestCast, | 662 "cast": TestCast, "cast_unittests": TestCast, |
666 "cc": TestCC, "cc_unittests": TestCC, | 663 "cc": TestCC, "cc_unittests": TestCC, |
667 "chrome_app": TestChromeApp, | |
668 "chrome_elf": TestChromeElf, | 664 "chrome_elf": TestChromeElf, |
669 "chromedriver": TestChromeDriver, | 665 "chromedriver": TestChromeDriver, |
670 "chromeos": TestChromeOS, "chromeos_unittests": TestChromeOS, | 666 "chromeos": TestChromeOS, "chromeos_unittests": TestChromeOS, |
671 "cloud_print": TestCloudPrint, | 667 "cloud_print": TestCloudPrint, |
672 "cloud_print_unittests": TestCloudPrint, | 668 "cloud_print_unittests": TestCloudPrint, |
673 "components": TestComponents,"components_unittests": TestComponents, | 669 "components": TestComponents,"components_unittests": TestComponents, |
674 "compositor": TestCompositor,"compositor_unittests": TestCompositor, | 670 "compositor": TestCompositor,"compositor_unittests": TestCompositor, |
675 "content": TestContent, "content_unittests": TestContent, | 671 "content": TestContent, "content_unittests": TestContent, |
676 "content_browsertests": TestContentBrowser, | 672 "content_browsertests": TestContentBrowser, |
677 "courgette": TestCourgette, "courgette_unittests": TestCourgette, | 673 "courgette": TestCourgette, "courgette_unittests": TestCourgette, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 | 794 |
799 for t in options.test: | 795 for t in options.test: |
800 tests = ChromeTests(options, args, t) | 796 tests = ChromeTests(options, args, t) |
801 ret = tests.Run() | 797 ret = tests.Run() |
802 if ret: return ret | 798 if ret: return ret |
803 return 0 | 799 return 0 |
804 | 800 |
805 | 801 |
806 if __name__ == "__main__": | 802 if __name__ == "__main__": |
807 sys.exit(_main()) | 803 sys.exit(_main()) |
OLD | NEW |