diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-03-15 21:12:18 +0000 |
---|---|---|
committer | Vincent Palatin <vpalatin@chromium.org> | 2012-03-15 21:25:48 +0000 |
commit | a191591cf035c1d6f83a7e73c42a558e3a3b46ff (patch) | |
tree | 43a7aabf1efd4330f4324d936ca177f5ea344459 /test | |
parent | e456584ce15701ead6af6371e050c8ab990e3d30 (diff) | |
download | chrome-ec-a191591cf035c1d6f83a7e73c42a558e3a3b46ff.tar.gz |
Update test scripts
Update test python scripts for recent trace modifications :
- lack of firmware B
- updated motd
Update QEMU to deal gracefully with various new registers accesses.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=None
TEST=make qemu-tests
Change-Id: I59a53822193b7377fe5f61f75c951b6cd24fc54b
Diffstat (limited to 'test')
-rw-r--r-- | test/hello.py | 4 | ||||
-rw-r--r-- | test/timer_calib.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/hello.py b/test/hello.py index a717185fd0..956a43b8f8 100644 --- a/test/hello.py +++ b/test/hello.py @@ -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 ! diff --git a/test/timer_calib.py b/test/timer_calib.py index d62e9f7634..1d873334ed 100644 --- a/test/timer_calib.py +++ b/test/timer_calib.py @@ -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 |