Add a set of tests to check the API behavior. The API tests can only run on a platform that does not have an actual pinctrl driver, e.g. native_posix. The test itself implements a pinctrl mock driver and provides the required "pinctrl_soc.h" header with required types/macros. The implementation is used in the tests to verify the behavior of the API or Devicetree macros. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
12 lines
339 B
YAML
12 lines
339 B
YAML
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
tests:
|
|
drivers.pinctrl.api:
|
|
tags: drivers pinctrl
|
|
platform_allow: native_posix native_posix_64
|
|
derivers.pinctrl.api_reg:
|
|
tags: drivers pinctrl
|
|
platform_allow: native_posix native_posix_64
|
|
extra_args: CONF_FILE="prj.conf;reg.conf"
|