Files
OpenCellular/test/hello.py
Vincent Palatin c4ac74a11d 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>
2012-06-07 20:01:49 -07:00

16 lines
610 B
Python

# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Simple test as an example
#
def test(helper):
helper.wait_output("--- UART initialized")
helper.ec_command("version")
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 !