These two option are already set in the pytest YAML, but we build and run tests in two separate stages and thus they are never applied.
Combining build and test into one doesn't play nicely with our structure, because we build e.g. multi_v7_defconfig once and then run multiple tests on it. Let's workaround this in the build stage for now. Signed-off-by: Ahmad Fatoum <a.fat...@pengutronix.de> --- .github/workflows/test-labgrid-pytest.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml index bfb022dc7778..315868779bee 100644 --- a/.github/workflows/test-labgrid-pytest.yml +++ b/.github/workflows/test-labgrid-pytest.yml @@ -67,11 +67,14 @@ jobs: run: | export KBUILD_OUTPUT=build-${{matrix.arch}}-${{matrix.defconfig}} export ARCH=${{matrix.arch}} + export KCONFIG_ADD="common/boards/configs/enable_self_test.config \ + common/boards/configs/disable_target_tools.config" - ./MAKEALL -O ${KBUILD_OUTPUT} -l "" -v 0 \ - -k common/boards/configs/enable_self_test.config \ - -k common/boards/configs/disable_target_tools.config \ - ${{matrix.defconfig}} + if [ ${{matrix.arch}} = sandbox ] && [ ${{matrix.defconfig}} = allyesconfig ]; then + KCONFIG_ADD="${KCONFIG_ADD} CONFIG_CONSOLE_DISABLE_INPUT=n CONFIG_MALLOC_LIBC=y" + fi + + ./MAKEALL -O ${KBUILD_OUTPUT} -l "" -v 0 ${{matrix.defconfig}} if [ ${{matrix.arch}} = "riscv" ]; then cp /usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.bin ${KBUILD_OUTPUT}/ -- 2.39.5