diff options
author | Nicolas Norvez <norvez@chromium.org> | 2018-02-12 14:04:03 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-28 21:29:46 -0800 |
commit | c161c4f43a71a19a97009de698654aff8984629e (patch) | |
tree | cb05bd66ef499f4b8eb03c35bd54ac5e967c44cf /Makefile | |
parent | 7efa7465b17adc361c00e4e7e92f74a256038d52 (diff) | |
download | vboot-c161c4f43a71a19a97009de698654aff8984629e.tar.gz |
image_signing: unit tests for Android image
- move helper functions that detect which keys should be used depending
on the build flavor to a separate lib
- add unit tests for that lib
BUG=b:72947583
TEST=unit tests
TEST=run against caroline image, scripts detects 'cheets' build flavor
TEST=run against novato-arc64 image (SDK), script detects 'cheets' build
flavor
TEST=run against newbie image (AOSP), script detects 'aosp' build flavor
TEST=run against invalid build property 'paosp_cheets_...', script
aborts as expected
BRANCH=None
Change-Id: I5595c10a5a063e7658d0cf17c77dbeead429cd97
Reviewed-on: https://chromium-review.googlesource.com/923097
Commit-Ready: Nicolas Norvez <norvez@chromium.org>
Tested-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1392,6 +1392,7 @@ runcgpttests: test_setup .PHONY: runtestscripts runtestscripts: test_setup genfuzztestcases + scripts/image_signing/sign_android_unittests.sh tests/load_kernel_tests.sh tests/run_cgpt_tests.sh ${BUILD_RUN}/cgpt/cgpt tests/run_cgpt_tests.sh ${BUILD_RUN}/cgpt/cgpt -D 358400 |