summaryrefslogtreecommitdiff
path: root/test/kb_scan.tasklist
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-04-12 15:07:56 +0800
committerChromeBot <chrome-bot@google.com>2013-04-13 03:12:21 -0700
commit2b3c02bf9f3b2ddda2ece73ca8291acf2000dd08 (patch)
tree9c5143239fbb54ffe33a7a67267fbc7b7e2bfbe7 /test/kb_scan.tasklist
parent25fb06ce516e15b9701eeb62664bc64f58f9a68e (diff)
downloadchrome-ec-2b3c02bf9f3b2ddda2ece73ca8291acf2000dd08.tar.gz
Add debounce test to kb_deghost and change name to kb_scan
To minimize the number of test binaries, we should put as many tests in a single binary as possible. This CL merges kb_debouncing and kb_deghosting and renames them to kb_scan. BUG=chrome-os-partner:18598 TEST=Run on Spring BRANCH=None Change-Id: I876363ba68c692a7af10badfa474a2ea9a9d002c Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/47980
Diffstat (limited to 'test/kb_scan.tasklist')
-rw-r--r--test/kb_scan.tasklist19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/kb_scan.tasklist b/test/kb_scan.tasklist
new file mode 100644
index 0000000000..2368d7bc52
--- /dev/null
+++ b/test/kb_scan.tasklist
@@ -0,0 +1,19 @@
+/* Copyright (c) 2013 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.
+ */
+
+/**
+ * List of enabled tasks in the priority order
+ *
+ * The first one has the lowest priority.
+ *
+ * For each task, use the macro TASK_TEST(n, r, d, s) where :
+ * 'n' in the name of the task
+ * 'r' in the main routine of the task
+ * 'd' in an opaque parameter passed to the routine at startup
+ * 's' is the stack size in bytes; must be a multiple of 8
+ */
+#define CONFIG_TEST_TASK_LIST \
+ TASK_TEST(KEYSCAN, keyboard_scan_task, NULL, 256) \
+ TASK_TEST(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE)