mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
Merge "Update test scripts"
This commit is contained in:
@@ -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 !
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user