summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Norvez <norvez@chromium.org>2018-02-12 14:04:03 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-02-28 21:29:46 -0800
commitc161c4f43a71a19a97009de698654aff8984629e (patch)
treecb05bd66ef499f4b8eb03c35bd54ac5e967c44cf /Makefile
parent7efa7465b17adc361c00e4e7e92f74a256038d52 (diff)
downloadvboot-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--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 78af5a6a..1f3e7f66 100644
--- a/Makefile
+++ b/Makefile
@@ -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