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

Unified Diff: bin/cbuildbot.py

Issue 3567010: Add enabling of local account. This should get the suite_Smoke to go green on the pfq. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Disable smoke on pineview Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | bin/cbuildbot_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/cbuildbot.py
diff --git a/bin/cbuildbot.py b/bin/cbuildbot.py
index 794bf15013d5555aab2fc92415e72751c6fc2dd7..e01fe18627c51e1e55b98980ceb9cf1ff1218442 100755
--- a/bin/cbuildbot.py
+++ b/bin/cbuildbot.py
@@ -263,6 +263,14 @@ def _WipeOldOutput(buildroot):
RunCommand(['rm', '-rf', 'src/build/images'], cwd=buildroot)
+def _EnableLocalAccount(buildroot):
+ cwd = os.path.join(buildroot, 'src', 'scripts')
+ # Set local account for test images.
+ RunCommand(['./enable_localaccount.sh',
+ 'chronos'],
+ print_cmd=False, cwd=cwd)
+
+
def _BuildImage(buildroot):
_WipeOldOutput(buildroot)
@@ -415,6 +423,7 @@ def main():
if buildconfig['uprev']:
_UprevPackages(buildroot, revisionfile, board=buildconfig['board'])
+ _EnableLocalAccount(buildroot)
_Build(buildroot)
if buildconfig['unittests']:
_RunUnitTests(buildroot)
« no previous file with comments | « no previous file | bin/cbuildbot_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698