diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2016-11-09 15:29:24 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-11-10 21:28:33 -0800 |
commit | 2ae311c901602f0be553d4d3e2bf91e435ce5bd0 (patch) | |
tree | 7d923953e4e293d96b275a5e0e159abc201da023 /cts/task/cts.testlist | |
parent | 0874f1a197349c464f8e1002096bda8c33598cf4 (diff) | |
download | chrome-ec-2ae311c901602f0be553d4d3e2bf91e435ce5bd0.tar.gz |
eCTS: Test task priority
CTS task wakes up A and C then goes to sleep:
CTS -> A, C -> A -> B -> C
Since C has a higher priority, C should run first. This should result
in C running one more time than A (or B).
BUG=chromium:663873
BRANCH=none
TEST=cts.py -m task
Change-Id: I89c733ba3aab09b293edf8583d6ed73791531e59
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/409535
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'cts/task/cts.testlist')
-rw-r--r-- | cts/task/cts.testlist | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cts/task/cts.testlist b/cts/task/cts.testlist index c06c4b4163..7c8c5757df 100644 --- a/cts/task/cts.testlist +++ b/cts/task/cts.testlist @@ -11,4 +11,9 @@ */ CTS_TEST(test_task_switch) +/* + * Test task priority. CTS task wakes up A and C then goes to sleep. Since C + * has a higher priority, C should run first. This should result in C running + * one more time than A (or B). + */ CTS_TEST(test_task_priority)
\ No newline at end of file |