summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2023-02-10 15:04:54 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-02-10 23:46:05 +0000
commitda95f93233a8ea445afb2eb62197465053b907d6 (patch)
tree601a8f6e460a9044543608ebabb43b10c86ea66b
parentfa560df05ab6285fd7e0da8ddd17fd319ee4b9d0 (diff)
downloadchrome-ec-da95f93233a8ea445afb2eb62197465053b907d6.tar.gz
zephyr/test: Unset CONFIG_ASSERT_TEST for driver tests
Unset CONFIG_ASSERT_TEST for driver tests. This flag will mask assert failures in tests. BUG=b:268638354 BRANCH=None TEST=Pass driver unit tests Change-Id: I2dff6e78fe62a9fce01b2079055008925de64203 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4240495 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r--zephyr/test/drivers/prj.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/zephyr/test/drivers/prj.conf b/zephyr/test/drivers/prj.conf
index 00fc806d3b..555be472f1 100644
--- a/zephyr/test/drivers/prj.conf
+++ b/zephyr/test/drivers/prj.conf
@@ -13,7 +13,9 @@ CONFIG_ZTEST_NEW_API=y
CONFIG_ZTEST_PARAMETER_COUNT=24
CONFIG_TEST=y
CONFIG_ASSERT=y
-CONFIG_ASSERT_TEST=y
+# Do not set CONFIG_ASSERT_TEST=y here, it will mask assert failures.
+# Instead set CONFIG_ASSERT_TEST=y only on specific tests that require it.
+CONFIG_ASSERT_TEST=n
CONFIG_SHELL_VT100_COMMANDS=n
# Print logs from Zephyr LOG_MODULE to stdout