summaryrefslogtreecommitdiff
path: root/test/queue.tasklist
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-06-09 19:02:02 +0800
committerChromeBot <chrome-bot@google.com>2013-06-10 01:48:46 -0700
commitcbee574e6487e2f7dd12c4ed5f2bef8ae7c4b9cb (patch)
treeb3423b55ea71c456820a4cb0487ae33e7ed2587a /test/queue.tasklist
parenta9541220dc92ba70d9828c6000c89dc8287bc7a1 (diff)
downloadchrome-ec-cbee574e6487e2f7dd12c4ed5f2bef8ae7c4b9cb.tar.gz
Unit test for queue implementation
BUG=chrome-os-partner:19236 TEST=Pass the test. BRANCH=None Change-Id: I575e4a9abfd9431e3b74c36da8c3d69285e5c0fb Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/58032 Reviewed-by: Yung-Chieh Lo <yjlou@chromium.org>
Diffstat (limited to 'test/queue.tasklist')
-rw-r--r--test/queue.tasklist17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/queue.tasklist b/test/queue.tasklist
new file mode 100644
index 0000000000..26cfc53453
--- /dev/null
+++ b/test/queue.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 */