[PATCH 11/11] ci: pytest: Enable device-mapper labgrid tests
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Sep 22 08:46:10 PDT 2025
On 18.09.25 09:43, Tobias Waldekranz wrote:
> For targets that support inclusion of the testfs, make sure to inject
> all config options needed to run the device mapper pytests.
>
> Signed-off-by: Tobias Waldekranz <tobias at waldekranz.com>
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> .github/workflows/test-labgrid-pytest.yml | 4 ++++
> common/boards/configs/enable_dm_testing.config | 9 +++++++++
> 2 files changed, 13 insertions(+)
> create mode 100644 common/boards/configs/enable_dm_testing.config
>
> diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml
> index 6918ea1b98..ccf8ae172c 100644
> --- a/.github/workflows/test-labgrid-pytest.yml
> +++ b/.github/workflows/test-labgrid-pytest.yml
> @@ -87,6 +87,10 @@ jobs:
> KCONFIG_ADD="${KCONFIG_ADD} CONFIG_CONSOLE_DISABLE_INPUT=n CONFIG_MALLOC_LIBC=y"
> fi
>
> + if [ "${{ steps.used-features.outputs.testfs }}" = "true" ]; then
> + KCONFIG_ADD="${KCONFIG_ADD} common/boards/configs/enable_dm_testing.config"
> + fi
> +
> ./MAKEALL -O ${KBUILD_OUTPUT} -l "" -v 0 ${{matrix.defconfig}}
>
> if [ ${{matrix.arch}} = "riscv" ]; then
> diff --git a/common/boards/configs/enable_dm_testing.config b/common/boards/configs/enable_dm_testing.config
> new file mode 100644
> index 0000000000..16c3f702c1
> --- /dev/null
> +++ b/common/boards/configs/enable_dm_testing.config
> @@ -0,0 +1,9 @@
> +CONFIG_FS_FAT=y
> +CONFIG_DISK=y
> +CONFIG_DM_BLK=y
> +CONFIG_DM_BLK_LINEAR=y
> +CONFIG_DM_BLK_VERITY=y
> +CONFIG_CMD_DMSETUP=y
> +CONFIG_CMD_VERITYSETUP=y
> +CONFIG_CMD_MD5SUM=y
> +CONFIG_CMD_READF=y
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list