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:
parent
76e186571b
commit
6499802130
8
.murdock
8
.murdock
@ -27,6 +27,8 @@ tests/driver_v*"}
|
|||||||
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*
|
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*
|
||||||
tests/xtimer_* tests/ztimer_* tests/driver_ws281x"}
|
tests/xtimer_* tests/ztimer_* tests/driver_ws281x"}
|
||||||
|
|
||||||
|
: ${TEST_WITH_CONFIG_SUPPORTED:="examples/suit_update tests/driver_at86rf2xx_aes"}
|
||||||
|
|
||||||
export RIOT_CI_BUILD=1
|
export RIOT_CI_BUILD=1
|
||||||
export CC_NOCOLOR=1
|
export CC_NOCOLOR=1
|
||||||
export STATIC_TESTS=0
|
export STATIC_TESTS=0
|
||||||
@ -382,7 +384,11 @@ run_test() {
|
|||||||
BOARD=$board TOOLCHAIN=${toolchain} make -C$appdir flash-only termdeps -j2
|
BOARD=$board TOOLCHAIN=${toolchain} make -C$appdir flash-only termdeps -j2
|
||||||
|
|
||||||
# now run the actual test
|
# 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=$?
|
RES=$?
|
||||||
|
|
||||||
if [ $RES -eq 0 -a -n "$TEST_HASH" ]; then
|
if [ $RES -eq 0 -a -n "$TEST_HASH" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user