summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-02-07 15:10:45 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-02-11 02:42:01 -0800
commitd02ae3899c1644bc9f866cb0b0f7e9d6f5842e8f (patch)
treee0dfe28e6b67350a3a2322aaffaaf4543da8662e /Makefile
parent791267a5613be52dada7ca4b634e980e3dab6b2e (diff)
downloadvboot-d02ae3899c1644bc9f866cb0b0f7e9d6f5842e8f.tar.gz
Makefile: Add gentestcases target
This calls gen_test_cases.sh in the proper environment. Also, prevent gen_test_cases.sh from overriding test_file, to provide stable signature (and avoid large git diff for no reason). BRANCH=none BUG=chromium:684354 TEST=make gentestcases -j8; git diff => no changes Change-Id: I556285fd1a07a4d84f4ebd3fd7881ae06743716e Reviewed-on: https://chromium-review.googlesource.com/439064 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3ce74c11..31f714b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1379,6 +1379,11 @@ runtests: test_setup test_targets
genkeys: utils test_setup
tests/gen_test_keys.sh
+# Generate test cases
+.PHONY: gentestcases
+gentestcases: utils test_setup
+ tests/gen_test_cases.sh
+
# Generate test cases for fuzzing
.PHONY: genfuzztestcases
genfuzztestcases: utils test_setup