1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

.murdock: adapt run-test for test-with-config target

This commit is contained in:
Alexandre Abadie 2021-01-15 12:26:09 +01:00
parent 76e186571b
commit 6499802130
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -27,6 +27,8 @@ tests/driver_v*"}
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*
tests/xtimer_* tests/ztimer_* tests/driver_ws281x"}
: ${TEST_WITH_CONFIG_SUPPORTED:="examples/suit_update tests/driver_at86rf2xx_aes"}
export RIOT_CI_BUILD=1
export CC_NOCOLOR=1
export STATIC_TESTS=0
@ -382,7 +384,11 @@ run_test() {
BOARD=$board TOOLCHAIN=${toolchain} make -C$appdir flash-only termdeps -j2
# now run the actual test
BOARD=$board TOOLCHAIN=${toolchain} make -C$appdir test
if is_in_list "${appdir}" "${TEST_WITH_CONFIG_SUPPORTED}"; then
BOARD=${board} TOOLCHAIN=${toolchain} make -C${appdir} test-with-config
else
BOARD=$board TOOLCHAIN=${toolchain} make -C$appdir test
fi
RES=$?
if [ $RES -eq 0 -a -n "$TEST_HASH" ]; then