summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-03-15 21:12:18 +0000
committerVincent Palatin <vpalatin@chromium.org>2012-03-15 21:25:48 +0000
commita191591cf035c1d6f83a7e73c42a558e3a3b46ff (patch)
tree43a7aabf1efd4330f4324d936ca177f5ea344459
parente456584ce15701ead6af6371e050c8ab990e3d30 (diff)
downloadchrome-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
-rw-r--r--test/hello.py4
-rw-r--r--test/timer_calib.py2
-rwxr-xr-xutil/qemu-system-armbin15612250 -> 15621946 bytes
3 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
diff --git a/util/qemu-system-arm b/util/qemu-system-arm
index ad0802ba06..fe38b6fc25 100755
--- a/util/qemu-system-arm
+++ b/util/qemu-system-arm
Binary files differ