diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-05-06 15:58:13 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-11 22:58:28 +0000 |
commit | 4b38a923f7f120b80430fcc045c5e163d061188e (patch) | |
tree | 7ffea88e13829e2f7b640fbe7b431ac9517c6bbe /test/build.mk | |
parent | 499030dd4e27c290fb8c59eb36110c67bccb0bba (diff) | |
download | chrome-ec-4b38a923f7f120b80430fcc045c5e163d061188e.tar.gz |
ec: Make tests pass with TEST_ASAN=y
There are some mismatched enums and other errors that prevent building
with asan. Fix them all.
Change the cq builder to prevent these breakages in the future.
If the tests pass with ASAN in the chroot, they will likely pass in
gitlab with coverage enabled.
BRANCH=None
BUG=None
TEST=make clobber ; make -j8 runtests && echo PASS
make clobber ; make -j8 TEST_ASAN=y runtests && echo PASS
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I6d86fd5750282e0257eb97f65b31046a1613a453
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3631365
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'test/build.mk')
-rw-r--r-- | test/build.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/build.mk b/test/build.mk index 3184f0a8f1..fac9544ca4 100644 --- a/test/build.mk +++ b/test/build.mk @@ -47,7 +47,10 @@ test-list-host += inductive_charging # test-list-host += interrupt test-list-host += irq_locking test-list-host += is_enabled +ifeq ($(TEST_ASAN),) +# is_enabled_error fails with TEST_ASAN test-list-host += is_enabled_error +endif test-list-host += kasa test-list-host += kb_8042 test-list-host += kb_mkbp |