Add enabling of local account. This should get the suite_Smoke to go green on the pfq.

Change-Id: Id480f45836a81d7d994b92d7a45d16208e1dd11c

BUG=
TEST=Ran locally.  Saw all tests pass.

Review URL: http://codereview.chromium.org/3567010
This commit is contained in:
Chris Sosa 2010-10-01 14:12:26 -07:00
parent 9d892dd99f
commit 3ede50ed4e
2 changed files with 9 additions and 1 deletions

View File

@ -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)

View File

@ -48,7 +48,6 @@ config['x86_pineview_bin'] = {
'important' : False,
'hostname' : 'codf200.jail',
'unittests': True,
'smoke_bvt' : True,
}
config['arm_tegra2_bin'] = {
'board' : 'tegra2',