summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/testcase.yaml
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2023-02-24 11:02:50 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-09 19:11:38 +0000
commit0753547ef59a017b659e5c772ec7063790dec2da (patch)
treee13604f9812f7e701249400e6d91cdd2a7c26b55 /zephyr/test/drivers/testcase.yaml
parenta3a6a5942b91f9f484a2a7e883ddd4841395ed02 (diff)
downloadchrome-ec-0753547ef59a017b659e5c772ec7063790dec2da.tar.gz
Zephyr test: Add feature disabled test for AP VDM control
Add a suite to confirm the host command and stub behavior expected when the AP VDM control command is disabled. BRANCH=None BUG=b:266714542 TEST=./twister -T ./zephyr/test Change-Id: If82c2d6f4d679f6af782b52298c9468a51a28503 Signed-off-by: Diana Z <dzigterman@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4290240 Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'zephyr/test/drivers/testcase.yaml')
-rw-r--r--zephyr/test/drivers/testcase.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/test/drivers/testcase.yaml b/zephyr/test/drivers/testcase.yaml
index 04567d0a2c..afe12cb8d9 100644
--- a/zephyr/test/drivers/testcase.yaml
+++ b/zephyr/test/drivers/testcase.yaml
@@ -65,6 +65,11 @@ tests:
extra_args: CONF_FILE="prj.conf;ap_vdm_control/prj.conf"
extra_configs:
- CONFIG_LINK_TEST_SUITE_AP_VDM_CONTROL=y
+ drivers.ap_vdm_control_disabled:
+ extra_args: CONF_FILE="prj.conf;ap_vdm_control/prj.conf"
+ extra_configs:
+ - CONFIG_PLATFORM_EC_USB_PD_VDM_AP_CONTROL=n
+ - CONFIG_LINK_TEST_SUITE_AP_VDM_CONTROL=y
drivers.button:
timeout: 360
extra_configs: