summaryrefslogtreecommitdiff
path: root/test/scancode.py
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-10-28 17:18:41 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-29 03:55:35 +0000
commite589e87b48d0a66bb818a648da9c29fc509896a2 (patch)
tree89867b3794f26ff0d50493bddbbe133b47fce0fc /test/scancode.py
parent718f4bb5e3a806f75b514295b9c9770a9a3b8e6a (diff)
downloadchrome-ec-stabilize-4886.B.tar.gz
Remove QEMU testsstabilize-4886.B
QEMU tests served us well, but it has been more and more difficult to maintain as we now have more chips and use more functionality from each EC chip. With emulator tests in place to test common code and hardware test to test per-chip/per-board drivers, it's time to remove QEMU tests to simplify our code base. QEMU tests that are covered by other emulator tests are removed completely; tests that are not covered are left alone for now to preserve the test logic. BUG=chrome-os-partner:18343 TEST=util/make_all.sh BRANCH=None Change-Id: I5a4dd2f5ac42f7f66f86fdce0b62dbd2c65bf66a Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/174669 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'test/scancode.py')
-rw-r--r--test/scancode.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/scancode.py b/test/scancode.py
deleted file mode 100644
index 6437e24e59..0000000000
--- a/test/scancode.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright (c) 2012 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.
-#
-# i8042 scancode test
-#
-
-def test(helper):
- # Wait for EC initialized
- helper.wait_output("--- UART initialized")
-
- # Disable typematic
- helper.ec_command("typematic 1000000 1000000")
-
- # Enable XLATE (Scan code set 1)
- helper.ec_command("ctrlram 0 0x40")
- helper.ec_command("mockmatrix 1 1 1")
- helper.wait_output("i8042 SEND: 01") # make code
- helper.ec_command("mockmatrix 1 1 0")
- helper.wait_output("i8042 SEND: 81") # break code
-
- # Disable XLATE (Scan code set 2)
- helper.ec_command("ctrlram 0 0x00")
- helper.ec_command("mockmatrix 1 1 1")
- helper.wait_output("i8042 SEND: 76") # make code
- helper.ec_command("mockmatrix 1 1 0")
- helper.wait_output("i8042 SEND: f0 76") # break code
-
- return True # PASS !