[riot-notifications] [RIOT-OS/RIOT] murdock: improve error message should "info-boards-supported" fail (#11160)

Kaspar Schleiser notifications at github.com
Tue Mar 26 11:09:33 CET 2019


kaspar030 commented on this pull request.



> @@ -137,7 +147,12 @@ compile() {
     local board=$(echo $2 | cut -f 1 -d':')
     local toolchain=$(echo $2 | cut -f 2 -d':')
 
-    [ "$board" = "makefile_broken" ] && error "$0: Makefile in \"$appdir\" seems to be broken!"
+    [ "$board" = "makefile_broken" ] && {
+        echo "$0: There seems to be a problem in \"$appdir\" while getting supported boards!"
+        echo "$0: testing \"make -C$appdir make-info-boards-supported\"..."
+        make -C$appdir make-info-boards-supported && echo "$0: success. no idea what's wrong." || echo "$0: failed!"

uff, well spotted. this didn't show up in my test case as that broke the syntax of the makefile, not even trying to build the (non-existing) target "make-info-boards-supported".

fixed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11160#discussion_r269025119
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190326/6f0c3103/attachment.html>


More information about the notifications mailing list