From 87a81d224ab46e44f8ec04ff158494bf0cb868d6 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 12 Mar 2019 11:18:44 +0100 Subject: [PATCH] murdock: pass on makefile error in get_app_board_toolchain_pairs() --- .murdock | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.murdock b/.murdock index 296a3bd142..edc17b6dae 100755 --- a/.murdock +++ b/.murdock @@ -109,7 +109,14 @@ get_supported_toolchains() { # supported board and toolchain. Only print for boards in $BOARDS. get_app_board_toolchain_pairs() { local appdir=$1 - for board in $(get_supported_boards $appdir) + local boards="$(get_supported_boards $appdir)" + + if [ "$boards" = makefile_broken ]; then + echo "$appdir makefile_broken" + return + fi + + for board in ${boards} do for toolchain in $(get_supported_toolchains $appdir $board) do