diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-01-11 22:51:08 +0000 |
---|---|---|
committer | Vincent Palatin <vpalatin@chromium.org> | 2012-01-25 18:23:48 +0000 |
commit | 47c740e0b2aea0da3e7520feb467835e58758e5c (patch) | |
tree | 27768f15f6752a600393a6870fa43685e387d146 /test/mutex.tasklist | |
parent | 16e43a3d0d902f6c2771a2362f7e7dd40b3ddeee (diff) | |
download | chrome-ec-47c740e0b2aea0da3e7520feb467835e58758e5c.tar.gz |
mutex: add unit testing
Exercise all basic use cases on mutexes.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=None
TEST=make qemu-tests
Change-Id: I40de3ae59862db96b40a067c9ad54a978f5646b8
Diffstat (limited to 'test/mutex.tasklist')
-rw-r--r-- | test/mutex.tasklist | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/mutex.tasklist b/test/mutex.tasklist new file mode 100644 index 0000000000..92b2ae72d7 --- /dev/null +++ b/test/mutex.tasklist @@ -0,0 +1,14 @@ + +/** + * List of enabled tasks in the priority order + * + * The first one has the lowest priority. + */ +#define CONFIG_TASK_LIST \ + TASK(WATCHDOG, watchdog_task, NULL) \ + TASK(CONSOLE, console_task, NULL) \ + TASK(MTX3C, mutex_random_task, NULL) \ + TASK(MTX3B, mutex_random_task, NULL) \ + TASK(MTX3A, mutex_random_task, NULL) \ + TASK(MTX2, mutex_second_task, NULL) \ + TASK(MTX1, mutex_main_task, NULL) |