1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 23:11:19 +01:00

ci: ./murdock run_tests: fail fast if flashing fails

This commit is contained in:
Kaspar Schleiser 2024-01-17 09:37:30 +01:00
parent 084dedcca7
commit 9ec623a33f

View File

@ -454,6 +454,10 @@ run_test() {
# do flashing and building of termdeps simultaneously
BOARD=$board TOOLCHAIN=${toolchain} make -C$appdir flash-only termdeps -j2
RES=$?
if [ $RES -ne 0 ]; then
error "- flashing failed!"
fi
# now run the actual test
if is_in_list "${appdir}" "${TEST_WITH_CONFIG_SUPPORTED}"; then