summaryrefslogtreecommitdiff
path: root/test/charge_manager.tasklist
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2014-11-05 10:02:01 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-13 00:29:58 +0000
commitcf48a3640c271663fc1c4156b16f4a25264944d9 (patch)
tree0330fdc3a2c6453bc46a4310431a1506bd978cfb /test/charge_manager.tasklist
parent06fb4fe0f2ee33c912fa10ed7fecdbe8c9c193d6 (diff)
downloadchrome-ec-cf48a3640c271663fc1c4156b16f4a25264944d9.tar.gz
charge_manager: Add unit tests
Add unit tests for the charge_manager module. BUG=chrome-os-partner:32003 TEST=`make buildall -j` BRANCH=Samus Change-Id: I31962588ca7360e2ffde6b83459505872e2128b9 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/227620 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'test/charge_manager.tasklist')
-rw-r--r--test/charge_manager.tasklist17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/charge_manager.tasklist b/test/charge_manager.tasklist
new file mode 100644
index 0000000000..927bd24ee1
--- /dev/null
+++ b/test/charge_manager.tasklist
@@ -0,0 +1,17 @@
+/* Copyright 2014 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 */