We have labgrid environments for two Qemu rv64i machines: - RISC-V Virt 64-bit - SiFive HiFive Unleashed The first one is readily testable, but the second hangs during cat /env/data/config. This isn't reproducible interactively and needs further looking into, so we just enable a single config for now. emulate.pl also supports a TinyEMUDriver, which is not supported by labgrid. To avoid passing it to labgrid when globbing in the future, we add a grep with an early continue. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- .github/workflows/test-labgrid-pytest.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml index 6647237284d9..5b17c701a7bb 100644 --- a/.github/workflows/test-labgrid-pytest.yml +++ b/.github/workflows/test-labgrid-pytest.yml @@ -35,6 +35,10 @@ jobs: lgenv: test/riscv/qemu@virt32_defconfig.yaml defconfig: virt32_defconfig + - ARCH: riscv + lgenv: 'test/riscv/qemu-virt64@rv64i_defconfig.yaml' + defconfig: rv64i_defconfig + steps: - name: Checkout code uses: actions/checkout@v3 @@ -60,6 +64,8 @@ jobs: export KBUILD_OUTPUT=build-${{matrix.arch}} for i in ${{matrix.lgenv}}; do + grep -wqe QEMUDriver: "$i" || continue + cfg=$(basename $i .yaml) echo "Testing $cfg" labgrid-pytest --lg-env $i test/py --verbosity=1 \ -- 2.39.2