diff options
-rw-r--r-- | zephyr/test/rex/src/fan.c | 9 | ||||
-rw-r--r-- | zephyr/test/rex/testcase.yaml | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/zephyr/test/rex/src/fan.c b/zephyr/test/rex/src/fan.c index eb918a4369..7978475a76 100644 --- a/zephyr/test/rex/src/fan.c +++ b/zephyr/test/rex/src/fan.c @@ -10,12 +10,9 @@ #include <zephyr/fff.h> #include <zephyr/ztest.h> -DECLARE_FAKE_VALUE_FUNC(int, cros_cbi_get_fw_config, - enum cbi_fw_config_field_id, uint32_t *); -DEFINE_FAKE_VALUE_FUNC(int, cros_cbi_get_fw_config, enum cbi_fw_config_field_id, - uint32_t *); -DECLARE_FAKE_VOID_FUNC(fan_set_count, int); -DEFINE_FAKE_VOID_FUNC(fan_set_count, int); +FAKE_VALUE_FUNC(int, cros_cbi_get_fw_config, enum cbi_fw_config_field_id, + uint32_t *); +FAKE_VOID_FUNC(fan_set_count, int); int cros_cbi_get_fw_config_mock(enum cbi_fw_config_field_id field_id, uint32_t *value) diff --git a/zephyr/test/rex/testcase.yaml b/zephyr/test/rex/testcase.yaml index d55ad64080..64b5904f57 100644 --- a/zephyr/test/rex/testcase.yaml +++ b/zephyr/test/rex/testcase.yaml @@ -12,7 +12,9 @@ tests: - CONFIG_TEST_ENABLE_USB_PD_HOST_CMD=y rex.fan: - extra_args: DTC_OVERLAY_FILE="boards/native_posix.overlay;fan.dtsi" + extra_dtc_overlay_files: + - boards/native_posix.overlay + - fan.dtsi extra_configs: - CONFIG_TEST_FAN=y |