[PATCH 3/3] ci: add support for running basic tests on kvx arch
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Aug 12 23:25:43 PDT 2024
Hello Yann,
On 12.08.24 16:41, Yann Sionneau wrote:
> Signed-off-by: Yann Sionneau <ysionneau at kalrayinc.com>
> ---
> .github/workflows/test-labgrid-pytest.yml | 4 ++++
> test/kvx/qemu at generic_defconfig.yaml | 18 ++++++++++++++++++
> 2 files changed, 22 insertions(+)
> create mode 100644 test/kvx/qemu at generic_defconfig.yaml
>
> diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml
> index 2e038e371f..f4ef1b3a00 100644
> --- a/.github/workflows/test-labgrid-pytest.yml
> +++ b/.github/workflows/test-labgrid-pytest.yml
> @@ -23,6 +23,10 @@ jobs:
> lgenv: test/arm/multi_v8_defconfig.yaml
> defconfig: multi_v8_defconfig
>
> + - ARCH: kvx
> + lgenv: test/kvx/qemu at generic_defconfig.yaml
> + defconfig: generic_defconfig
> +
> - ARCH: mips
> lgenv: test/mips/qemu-malta_defconfig.yaml
> defconfig: qemu-malta_defconfig
> diff --git a/test/kvx/qemu at generic_defconfig.yaml b/test/kvx/qemu at generic_defconfig.yaml
> new file mode 100644
> index 0000000000..bc15afb632
> --- /dev/null
> +++ b/test/kvx/qemu at generic_defconfig.yaml
> @@ -0,0 +1,18 @@
> +targets:
> + main:
> + drivers:
> + QEMUDriver:
> + qemu_bin: qemu-system-kvx
> + machine: mppa-coolidge
> + cpu: kv3-1
> + memory: 2G
> + kernel: barebox
> + extra_args: !template "-dtb $LG_BUILDDIR/arch/kvx/dts/qemu.dtb"
There's a dtb: attribute you can use instead.
> + BareboxDriver:
> + prompt: 'barebox:/ '
> + bootstring: 'commandline:'
> + BareboxTestStrategy: {}
> +images:
> + barebox: !template "$LG_BUILDDIR/barebox"
> +imports:
> + - ../strategy.py
--
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