diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-05-25 07:51:23 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-25 02:33:04 -0700 |
commit | 661259ebff96a3acc1f72701b90ea2c4955addc6 (patch) | |
tree | d0fbe38a80af8c06728cfb325a5fef8f285373ba /common/rollback.c | |
parent | 3219d9988b4816f5dbbacfda038aa448e6065f61 (diff) | |
download | chrome-ec-661259ebff96a3acc1f72701b90ea2c4955addc6.tar.gz |
tests: Split utils in 2 subtests
utils test is a little too large for hammer's small RO, so we split
it in 2 test: utils and utils_str. Instead of one test that requires
about 8kb extra flash, we have 2 tests that take respectively
3.4kb (utils_str) and 4.6kb (utils) of extra flash.
BRANCH=none
BUG=chromium:726113
TEST=make BOARD=hammer tests -j
util/flash_ec --board=hammer --image=build/hammer/test-utils.bin
runtest => pass
Repeat with test-utils_str.bin
TEST=Before this change:
make runtests -j
./util/run_host_test utils | grep Running | sort > old
Apply this change:
make runtests -j
(./util/run_host_test utils; ./util/run_host_test utils_str) \
| grep Running | sort > new
diff old new => No difference (except timing)
Change-Id: I917d572e671d6ce0a8799508761f55de7bd83133
Reviewed-on: https://chromium-review.googlesource.com/514604
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'common/rollback.c')
0 files changed, 0 insertions, 0 deletions