Merge "Update test scripts"

This commit is contained in:
Gerrit
2012-03-15 20:43:56 -07:00
committed by Gerrit Code Review
3 changed files with 3 additions and 3 deletions

View File

@@ -6,10 +6,10 @@
#
def test(helper):
helper.wait_output("--- Chrome EC initialized! ---")
helper.wait_output("--- Chrome EC initialized")
helper.ec_command("version")
ro = helper.wait_output("RO version:\s*(?P<ro>\S+)", use_re=True)["ro"]
wa = helper.wait_output("RW-A version:\s*(?P<a>\S+)", use_re=True)["a"]
wb = helper.wait_output("RW-B version:\s*(?P<b>\S+)", use_re=True)["b"]
wb = helper.wait_output("RW-B version:\s*(?P<b>\S*)", use_re=True)["b"]
helper.trace("Version (RO/A/B) %s / %s / %s\n" % (ro, wa, wb))
return True # PASS !

View File

@@ -39,7 +39,7 @@ def test(helper):
one_pass(helper)
helper.ec_command("reboot")
helper.wait_output("--- Chrome EC initialized! ---")
helper.wait_output("--- Chrome EC initialized")
# get the timing results on the second pass
# to avoid binary translation overhead

Binary file not shown.