diff options
author | Yuval Peress <peress@google.com> | 2022-08-30 22:11:27 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-01 00:04:11 +0000 |
commit | b2a302b1bef67dd322762feb8e344d45987c30f2 (patch) | |
tree | e7deccdec2d350d70a8d8026d40b36b407997326 /test/test_config.h | |
parent | 976092f8a33bb2d961c1e8beff92aba44ea15f26 (diff) | |
download | chrome-ec-b2a302b1bef67dd322762feb8e344d45987c30f2.tar.gz |
test: add tests for host command PD get/write log entry
Verify that the boundary conditions are met for the PD get and write
log entry commands as well as verify that the log entries are added
to the log FIFO.
BRANCH=none
BUG=b:236075606
TEST=twister -s zephyr/test/drivers/driver.host_cmd
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: Ifb246ad6e964dac25d3f70868cb031d80585d99a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3863942
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
Diffstat (limited to 'test/test_config.h')
-rw-r--r-- | test/test_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h index 536146a452..004cfe315d 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -20,7 +20,11 @@ /* Don't compile features unless specifically testing for them */ #undef CONFIG_VBOOT_HASH + +/* Only disable this if we didn't explicitly enable it in Kconfig */ +#ifndef CONFIG_PLATFORM_EC_USB_PD_LOGGING #undef CONFIG_USB_PD_LOGGING +#endif #if defined(TEST_AES) || defined(TEST_CRYPTO_BENCHMARK) #define CONFIG_AES |