summaryrefslogtreecommitdiff
path: root/test/mutex.tasklist
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-04-10 18:47:54 +0800
committerChromeBot <chrome-bot@google.com>2013-04-10 09:35:06 -0700
commitd6ce2852aed7ca0b7a06e06cee008c0f3778c932 (patch)
tree7b97a557eabe35ad47506b1446f7611bf414d73c /test/mutex.tasklist
parent9aa3716ca08a3bb8e62964229d67b867aa285c12 (diff)
downloadchrome-ec-d6ce2852aed7ca0b7a06e06cee008c0f3778c932.tar.gz
Fix tasklist for tests
This removes all tasks defined in board tasklist and changes syntax to CONFIG_TEST_TASK_LIST and TASK_TEST. BUG=chrome-os-partner:18598 TEST=None BRANCH=None Change-Id: Ie56c8edcb1dbf0ba0d0426ffce2a525594602a91 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/47738 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'test/mutex.tasklist')
-rw-r--r--test/mutex.tasklist18
1 files changed, 7 insertions, 11 deletions
diff --git a/test/mutex.tasklist b/test/mutex.tasklist
index df7cb73e56..4233108fc0 100644
--- a/test/mutex.tasklist
+++ b/test/mutex.tasklist
@@ -8,19 +8,15 @@
*
* The first one has the lowest priority.
*
- * For each task, use the macro TASK(n, r, d, s) where :
+ * 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_TASK_LIST \
- TASK(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \
- TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \
- TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \
- TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \
- TASK(MTX3C, mutex_random_task, NULL, TASK_STACK_SIZE) \
- TASK(MTX3B, mutex_random_task, NULL, TASK_STACK_SIZE) \
- TASK(MTX3A, mutex_random_task, NULL, TASK_STACK_SIZE) \
- TASK(MTX2, mutex_second_task, NULL, TASK_STACK_SIZE) \
- TASK(MTX1, mutex_main_task, NULL, TASK_STACK_SIZE)
+#define CONFIG_TEST_TASK_LIST \
+ TASK_TEST(MTX3C, mutex_random_task, NULL, TASK_STACK_SIZE) \
+ TASK_TEST(MTX3B, mutex_random_task, NULL, TASK_STACK_SIZE) \
+ TASK_TEST(MTX3A, mutex_random_task, NULL, TASK_STACK_SIZE) \
+ TASK_TEST(MTX2, mutex_second_task, NULL, TASK_STACK_SIZE) \
+ TASK_TEST(MTX1, mutex_main_task, NULL, TASK_STACK_SIZE)