eCTS: Implement Task Suite |
||
Issue description(eCTS: https://docs.google.com/document/d/1VFZgGV6uBxOWS7mJHlOAWWmkvqz6ctdgcbCaDo7RYhc/edit) Umbrella bug for all task related tests including switching, setting events, sleeping, waking up, enforcing priorities.
,
Nov 11 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform/ec/+/2ae311c901602f0be553d4d3e2bf91e435ce5bd0 commit 2ae311c901602f0be553d4d3e2bf91e435ce5bd0 Author: Daisuke Nojiri <dnojiri@chromium.org> Date: Wed Nov 09 23:29:24 2016 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> [modify] https://crrev.com/2ae311c901602f0be553d4d3e2bf91e435ce5bd0/cts/task/dut.c [modify] https://crrev.com/2ae311c901602f0be553d4d3e2bf91e435ce5bd0/cts/task/cts.testlist
,
Apr 4 2017
,
Jun 23 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform/ec/+/60800678ca1a7454a20ae2c270a4ea0bda34b9c0 commit 60800678ca1a7454a20ae2c270a4ea0bda34b9c0 Author: Daisuke Nojiri <dnojiri@chromium.org> Date: Fri Jun 23 07:51:18 2017 eCTS: Add stack overflow test This patch adds a test for stack overflow detection. CTS task tries to overflow by calling a function recursively. This function sleeps to incur context switch, where stack overflow is checked. Reboot is expected but not checked. BUG=chromium:663873 BRANCH=none TEST=cts.py -m task Change-Id: I6ad98d209acf873d2d23b48bac6fc751fa8c2f74 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/410283 Reviewed-by: Randall Spangler <rspangler@chromium.org> [modify] https://crrev.com/60800678ca1a7454a20ae2c270a4ea0bda34b9c0/cts/task/dut.c [modify] https://crrev.com/60800678ca1a7454a20ae2c270a4ea0bda34b9c0/cts/task/cts.testlist |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Nov 11 2016