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

Side by Side Diff: master/skia_master_scripts/housekeeping_percommit_factory.py

Issue 159793002: Test android tool for building makefile. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Reupload due to chunk error mismatch Created 6 years, 10 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 | « no previous file | tools/tests/factory_configuration/expected/Housekeeper-PerCommit » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Utility class to build the Skia master BuildFactory's for HouseKeeping bots. 5 """Utility class to build the Skia master BuildFactory's for HouseKeeping bots.
6 6
7 Overrides SkiaFactory with Per-commit HouseKeeping steps.""" 7 Overrides SkiaFactory with Per-commit HouseKeeping steps."""
8 8
9 9
10 import builder_name_schema 10 import builder_name_schema
(...skipping 21 matching lines...) Expand all
32 role: string; type of builder. 32 role: string; type of builder.
33 clobber: boolean indicating whether we should clean before building 33 clobber: boolean indicating whether we should clean before building
34 """ 34 """
35 if role != builder_name_schema.BUILDER_ROLE_HOUSEKEEPER: 35 if role != builder_name_schema.BUILDER_ROLE_HOUSEKEEPER:
36 raise Exception('Housekeeping builders must have role "%s"' % 36 raise Exception('Housekeeping builders must have role "%s"' %
37 builder_name_schema.BUILDER_ROLE_HOUSEKEEPER) 37 builder_name_schema.BUILDER_ROLE_HOUSEKEEPER)
38 38
39 self.UpdateSteps() 39 self.UpdateSteps()
40 self.Compile(clobber) 40 self.Compile(clobber)
41 41
42 # TODO(borenet): Move these to a self-tests bot (http://skbug.com/2144)
42 # Build tools and run their unittests. 43 # Build tools and run their unittests.
43 self._skia_cmd_obj.AddRunCommand( 44 self._skia_cmd_obj.AddRunCommand(
44 command=self.TargetPath.join('tools', 'tests', 'run.sh'), 45 command=self.TargetPath.join('tools', 'tests', 'run.sh'),
45 description='RunToolSelfTests') 46 description='RunToolSelfTests')
46 47
47 # Build GM and run its unittests. 48 # Build GM and run its unittests.
48 self._skia_cmd_obj.AddRunCommand( 49 self._skia_cmd_obj.AddRunCommand(
49 command=self.TargetPath.join('gm', 'tests', 'run.sh'), 50 command=self.TargetPath.join('gm', 'tests', 'run.sh'),
50 description='RunGmSelfTests') 51 description='RunGmSelfTests')
51 52
53 # Run unittests for Anroid platform_tools
54 self._skia_cmd_obj.AddRunCommand(
55 command=['python', self.TargetPath.join('platform_tools', 'android',
56 'tests', 'run_all.py')],
57 description='RunAndroidPlatformSelfTests')
58
52 # Check for static initializers. 59 # Check for static initializers.
53 self.AddSlaveScript(script='detect_static_initializers.py', 60 self.AddSlaveScript(script='detect_static_initializers.py',
54 description='DetectStaticInitializers') 61 description='DetectStaticInitializers')
55 62
56 if not self._do_patch_step: # Do not run Pydoc & Doxygen steps if try job. 63 if not self._do_patch_step: # Do not run Pydoc & Doxygen steps if try job.
57 # Generate and upload Buildbot Pydoc documentation. 64 # Generate and upload Buildbot Pydoc documentation.
58 buildbot_pydoc_actual_svn_baseurl = '%s/%s' % (AUTOGEN_SVN_BASEURL, 65 buildbot_pydoc_actual_svn_baseurl = '%s/%s' % (AUTOGEN_SVN_BASEURL,
59 'buildbot-docs') 66 'buildbot-docs')
60 # pylint: disable=W0212 67 # pylint: disable=W0212
61 update_buildbot_pydoc_path = self.TargetPath.join( 68 update_buildbot_pydoc_path = self.TargetPath.join(
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 123
117 self._skia_cmd_obj.AddRunCommand( 124 self._skia_cmd_obj.AddRunCommand(
118 command='python run_unittests', description='BuildbotSelfTests', 125 command='python run_unittests', description='BuildbotSelfTests',
119 workdir=self.TargetPath.join(os.pardir, os.pardir, os.pardir, 126 workdir=self.TargetPath.join(os.pardir, os.pardir, os.pardir,
120 os.pardir)) 127 os.pardir))
121 128
122 self.AddSlaveScript(script='check_compile_times.py', 129 self.AddSlaveScript(script='check_compile_times.py',
123 description='CheckCompileTimes') 130 description='CheckCompileTimes')
124 self.Validate() 131 self.Validate()
125 return self 132 return self
OLDNEW
« no previous file with comments | « no previous file | tools/tests/factory_configuration/expected/Housekeeper-PerCommit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698