summaryrefslogtreecommitdiff
path: root/test/extpwr_gpio.tasklist
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-07-11 16:06:18 +0800
committerChromeBot <chrome-bot@google.com>2013-07-11 22:32:52 -0700
commit786437229728ffeeda19d533941d813f74ba9441 (patch)
tree0e16373408829ea410467a87fd04628fb12c14d3 /test/extpwr_gpio.tasklist
parent2475cce9ad0e505a45562189e5427683d4ebd65c (diff)
downloadchrome-ec-786437229728ffeeda19d533941d813f74ba9441.tar.gz
Add extpower-gpio unit test
This tests host event and hook are triggered when AC status changes. BUG=chrome-os-partner:19236 TEST=Pass the test. BRANCH=None Change-Id: I9e4263f3f6e273bfb0b24671a4e5c56b20a04e1a Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/61554 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'test/extpwr_gpio.tasklist')
-rw-r--r--test/extpwr_gpio.tasklist17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/extpwr_gpio.tasklist b/test/extpwr_gpio.tasklist
new file mode 100644
index 0000000000..26cfc53453
--- /dev/null
+++ b/test/extpwr_gpio.tasklist
@@ -0,0 +1,17 @@
+/* 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 /* No test task */