diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-06-03 21:39:26 -0600 |
---|---|---|
committer | Jett Rink <jettrink@chromium.org> | 2019-06-06 14:37:13 +0000 |
commit | 57361b1afa507c39d46cb4ae916fec38204ad9a0 (patch) | |
tree | cb9ec2c8f1ebd71c610338e326094173b30830bd | |
parent | 818efa424827c32b75656863aebbe22b374a1e4a (diff) | |
download | chrome-ec-57361b1afa507c39d46cb4ae916fec38204ad9a0.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/+/1642887
Reviewed-by: Jett Rink <jettrink@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
-rw-r--r-- | Makefile.rules | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index 8a894e4542..c003b06c34 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -291,9 +291,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 |