Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: tools/valgrind/chrome_tests.py

Issue 2186733002: [Sync] Merge sync_unit_tests into components_unit_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sc
Patch Set: Remove from chromium.memory.full.json Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/buildbot/tryserver.v8.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 cmd_args=[ 446 cmd_args=[
447 "--ui-test-action-timeout=60000", 447 "--ui-test-action-timeout=60000",
448 "--ui-test-action-max-timeout=150000"]) 448 "--ui-test-action-max-timeout=150000"])
449 449
450 def TestSkia(self): 450 def TestSkia(self):
451 return self.SimpleTest("skia", "skia_unittests") 451 return self.SimpleTest("skia", "skia_unittests")
452 452
453 def TestSql(self): 453 def TestSql(self):
454 return self.SimpleTest("chrome", "sql_unittests") 454 return self.SimpleTest("chrome", "sql_unittests")
455 455
456 def TestSync(self):
457 return self.SimpleTest("chrome", "sync_unit_tests")
458
459 def TestLinuxSandbox(self): 456 def TestLinuxSandbox(self):
460 return self.SimpleTest("sandbox", "sandbox_linux_unittests") 457 return self.SimpleTest("sandbox", "sandbox_linux_unittests")
461 458
462 def TestUnit(self): 459 def TestUnit(self):
463 # http://crbug.com/51716 460 # http://crbug.com/51716
464 # Disabling all unit tests 461 # Disabling all unit tests
465 # Problems reappeared after r119922 462 # Problems reappeared after r119922
466 if common.IsMac() and (self._options.valgrind_tool == "memcheck"): 463 if common.IsMac() and (self._options.valgrind_tool == "memcheck"):
467 logging.warning("unit_tests are disabled for memcheck on MacOS.") 464 logging.warning("unit_tests are disabled for memcheck on MacOS.")
468 return 0; 465 return 0;
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 "net": TestNet, "net_unittests": TestNet, 699 "net": TestNet, "net_unittests": TestNet,
703 "net_perf": TestNetPerf, "net_perftests": TestNetPerf, 700 "net_perf": TestNetPerf, "net_perftests": TestNetPerf,
704 "phonenumber": TestPhoneNumber, 701 "phonenumber": TestPhoneNumber,
705 "libphonenumber_unittests": TestPhoneNumber, 702 "libphonenumber_unittests": TestPhoneNumber,
706 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI, 703 "ppapi": TestPPAPI, "ppapi_unittests": TestPPAPI,
707 "printing": TestPrinting, "printing_unittests": TestPrinting, 704 "printing": TestPrinting, "printing_unittests": TestPrinting,
708 "remoting": TestRemoting, "remoting_unittests": TestRemoting, 705 "remoting": TestRemoting, "remoting_unittests": TestRemoting,
709 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox, 706 "sandbox": TestLinuxSandbox, "sandbox_linux_unittests": TestLinuxSandbox,
710 "skia": TestSkia, "skia_unittests": TestSkia, 707 "skia": TestSkia, "skia_unittests": TestSkia,
711 "sql": TestSql, "sql_unittests": TestSql, 708 "sql": TestSql, "sql_unittests": TestSql,
712 "sync": TestSync, "sync_unit_tests": TestSync,
713 "sync_integration_tests": TestSyncIntegration, 709 "sync_integration_tests": TestSyncIntegration,
714 "sync_integration": TestSyncIntegration, 710 "sync_integration": TestSyncIntegration,
715 "ui_base_unit": TestUIBaseUnit, "ui_base_unittests": TestUIBaseUnit, 711 "ui_base_unit": TestUIBaseUnit, "ui_base_unittests": TestUIBaseUnit,
716 "ui_chromeos": TestUIChromeOS, "ui_chromeos_unittests": TestUIChromeOS, 712 "ui_chromeos": TestUIChromeOS, "ui_chromeos_unittests": TestUIChromeOS,
717 "unit": TestUnit, "unit_tests": TestUnit, 713 "unit": TestUnit, "unit_tests": TestUnit,
718 "url": TestURL, "url_unittests": TestURL, 714 "url": TestURL, "url_unittests": TestURL,
719 "views": TestViews, "views_unittests": TestViews, 715 "views": TestViews, "views_unittests": TestViews,
720 "webkit": TestLayout, 716 "webkit": TestLayout,
721 } 717 }
722 718
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 791
796 for t in options.test: 792 for t in options.test:
797 tests = ChromeTests(options, args, t) 793 tests = ChromeTests(options, args, t)
798 ret = tests.Run() 794 ret = tests.Run()
799 if ret: return ret 795 if ret: return ret
800 return 0 796 return 0
801 797
802 798
803 if __name__ == "__main__": 799 if __name__ == "__main__":
804 sys.exit(_main()) 800 sys.exit(_main())
OLDNEW
« no previous file with comments | « testing/buildbot/tryserver.v8.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698