summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2019-06-03 21:39:26 -0600
committerJett Rink <jettrink@chromium.org>2019-06-04 21:06:24 +0000
commitbcb9aff56b29b4894186f87af04a94ed5e38a0f0 (patch)
tree5c4c5de6863fa70c5b984bdef9b62338737d907d
parent0cfe807d6d41b08bd16b9b29b0b9f9e41d1f91ea (diff)
downloadchrome-ec-bcb9aff56b29b4894186f87af04a94ed5e38a0f0.tar.gz
Makefile: create new rules for host and fuzz tests
In order for chromeos-ish ebuild to run tests, it must run the fuzz tests, which are not related to ISH features, and introduce a lot of library dependencies into the ebuild. Provide two new targets: runhosttests and runfuzztests to allow the host tests to be run separately. runtests (and buildall) remain the same. BUG=b:134446400 BRANCH=none TEST=ran new targets, they functioned as intended Change-Id: Idba7fcfe707caeb0e51ce0c38caeac9da87e3baf Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1643437 Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Jett Rink <jettrink@chromium.org> Tested-by: Jett Rink <jettrink@chromium.org>
-rw-r--r--Makefile.rules6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 888ff06d8c..c37e9e3a32 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -287,9 +287,11 @@ $(FAILED_BOARDS_DIR):
.PHONY: buildfuzztests
buildfuzztests: $(fuzz-test-targets)
-.PHONY: hosttests runtests
+.PHONY: hosttests runhosttests runfuzztests runtests
hosttests: $(host-test-targets)
-runtests: $(run-test-targets) $(run-fuzz-test-targets)
+runhosttests: $(run-test-targets)
+runfuzztests: $(run-fuzz-test-targets)
+runtests: runhosttests runfuzztests
# Automatically enumerate all suites.
cts_excludes := common