summaryrefslogtreecommitdiff
path: root/test/system.tasklist
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-07-23 01:58:49 +0800
committerChromeBot <chrome-bot@google.com>2013-07-22 16:09:47 -0700
commit8218aa1346e533423d445018a289f938f36bcebd (patch)
tree4ad96173a6f980034bc842e670f6ee87df59aed9 /test/system.tasklist
parent2d205f97cbfd7eecf9d6cf6b9a44c4f667e9be79 (diff)
downloadchrome-ec-8218aa1346e533423d445018a289f938f36bcebd.tar.gz
Add system_common unit test
This tests reboot-on-ap-shutdown. BUG=chrome-os-partner:19236 TEST=Pass the test BRANCH=None Change-Id: Ic1a07670f82646e85d014d52a2aba0835319c212 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/62855 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'test/system.tasklist')
-rw-r--r--test/system.tasklist18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/system.tasklist b/test/system.tasklist
new file mode 100644
index 0000000000..97128ce472
--- /dev/null
+++ b/test/system.tasklist
@@ -0,0 +1,18 @@
+/* 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(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE)