diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-06-03 21:39:26 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-05 22:17:00 +0000 |
commit | e5be2fdf9a26c380f5cce863592f9f8115f48884 (patch) | |
tree | c926084f862f50d7e1a6995268a471b4bacff258 | |
parent | e1fdc01fc5de76e5ecd052f5b1d2de61956cb4e4 (diff) | |
download | chrome-ec-e5be2fdf9a26c380f5cce863592f9f8115f48884.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/+/1644207
Commit-Queue: Jett Rink <jettrink@chromium.org>
Tested-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | Makefile.rules | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.rules b/Makefile.rules index 3d2c957320..0fc1fda7de 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -291,10 +291,12 @@ $(FAILED_BOARDS_DIR): .PHONY: buildfuzztests buildfuzztests: $(fuzz-test-targets) -.PHONY: hosttests runtests +.PHONY: hosttests runhosttests runfuzztests runtests hosttests: $(host-test-targets) -# TODO(crbug.com/963768): Add back $(run-fuzz-test-targets) -runtests: $(run-test-targets) +runhosttests: $(run-test-targets) +runfuzztests: $(run-fuzz-test-targets) +# TODO(crbug.com/963768): Add back runfuzztests below +runtests: runhosttests # Automatically enumerate all suites. cts_excludes := common |