diff options
author | Jett Rink <jettrink@chromium.org> | 2019-08-07 12:49:34 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-20 16:05:47 +0000 |
commit | 7a07137ff8861509b5942a82de1c46b376c6057a (patch) | |
tree | 40ec190a005c76d7be409ac20367486270e7b848 /test/test_config.h | |
parent | 72405bceb4f8234ad1dc4a64041c0037abd57a21 (diff) | |
download | chrome-ec-7a07137ff8861509b5942a82de1c46b376c6057a.tar.gz |
test: add sanity check for existing state machines
We want to ensure that our usb state machines
- do not have any cycles
- do not have any completely empty states
- have names for every print statement if called
These new unit tests allow us to have build-times checks for the above.
BRANCH=none
BUG=none
TEST=tests pass. Made each test fail locally to ensure that tests were
actually working.
Change-Id: Idd2c4d69e83cf38c97278edd1727d86b52a85db9
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1744657
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'test/test_config.h')
0 files changed, 0 insertions, 0 deletions