summaryrefslogtreecommitdiff
path: root/test/build.mk
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@google.com>2020-11-16 18:12:48 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-17 20:53:44 +0000
commit73b90bcbad5d68c255dbff87a60cd269463d5aab (patch)
treea4412c292905d305442594fdbc06454d1928e63e /test/build.mk
parent72f06af17e55a5c88d51e8925d26a010297eb820 (diff)
downloadchrome-ec-73b90bcbad5d68c255dbff87a60cd269463d5aab.tar.gz
genvif: add unit test for genvif and genvif override
Any of the following will run the test from platform/ec make buildall make runtests make run-genvif_test The following will run the test from platform/ec/test/genvif make clean test BUG=b:173219559 BRANCH=none TEST=make buildall Signed-off-by: Denis Brockus <dbrockus@google.com> Change-Id: Ic5594ae96d040adc332c2afc8fa8a8eb8b373882 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2542745 Tested-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'test/build.mk')
-rw-r--r--test/build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/build.mk b/test/build.mk
index 1a9f3657a8..e994695ab0 100644
--- a/test/build.mk
+++ b/test/build.mk
@@ -228,3 +228,7 @@ is_enabled_error-y=is_enabled_error.o.cmd
host-static_if_error: TEST_SCRIPT=static_if_error.sh
static_if_error-y=static_if_error.o.cmd
+
+run-genvif_test:
+ @echo " TEST genvif_test"
+ @test/genvif/genvif.sh