mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
fix QEMU OS tests
- update strings which were modified by the message text "compression" - updated QEMU which supports a couple of additional registers for LM4F (getting internal oscillator calibration status and writing timer counter through TAV) Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=chrome-os-partner:10008 TEST=make qemu-tests Change-Id: Idf0ee13f354b4e14405e949861d426f3e4c3022b Reviewed-on: https://gerrit.chromium.org/gerrit/24827 Reviewed-by: Vic Yang <victoryang@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
#
|
||||
|
||||
def test(helper):
|
||||
helper.wait_output("--- Chrome EC initialized")
|
||||
helper.wait_output("--- UART 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"]
|
||||
ro = helper.wait_output("RO:\s*(?P<ro>\S+)", use_re=True)["ro"]
|
||||
wa = helper.wait_output("RW-A:\s*(?P<a>\S+)", use_re=True)["a"]
|
||||
wb = helper.wait_output("RW-B:\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("--- UART 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