diff options
author | Vic Yang <victoryang@chromium.org> | 2013-04-10 18:47:54 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-10 09:35:06 -0700 |
commit | d6ce2852aed7ca0b7a06e06cee008c0f3778c932 (patch) | |
tree | 7b97a557eabe35ad47506b1446f7611bf414d73c /test/pingpong.tasklist | |
parent | 9aa3716ca08a3bb8e62964229d67b867aa285c12 (diff) | |
download | chrome-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/pingpong.tasklist')
-rw-r--r-- | test/pingpong.tasklist | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/test/pingpong.tasklist b/test/pingpong.tasklist index 5ddb8285fc..8be6c58c52 100644 --- a/test/pingpong.tasklist +++ b/test/pingpong.tasklist @@ -8,18 +8,13 @@ * * 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(TESTA, TaskAbc, (void *)'A', TASK_STACK_SIZE) \ - TASK(TESTB, TaskAbc, (void *)'B', TASK_STACK_SIZE) \ - TASK(TESTC, TaskAbc, (void *)'C', TASK_STACK_SIZE) \ - TASK(TESTT, TaskTick, (void *)'T', TASK_STACK_SIZE) +#define CONFIG_TEST_TASK_LIST \ + TASK_TEST(TESTA, TaskAbc, NULL, TASK_STACK_SIZE) \ + TASK_TEST(TESTB, TaskAbc, NULL, TASK_STACK_SIZE) \ + TASK_TEST(TESTC, TaskAbc, NULL, TASK_STACK_SIZE) |