From: Fred Sundvik Date: Mon, 10 Jul 2017 10:04:27 +0000 (+0300) Subject: Fix Makefile error_occured output for unit tests X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1ff5fb000f7d38f16710e753886d8bc9635d47e2;p=qmk_firmware.git Fix Makefile error_occured output for unit tests --- diff --git a/Makefile b/Makefile index f789409b7..b429200fe 100644 --- a/Makefile +++ b/Makefile @@ -483,6 +483,8 @@ define RUN_TEST +error_occurred=0;\ $($(TEST)_COMMAND)\ if [ $$error_occurred -gt 0 ]; then $(HANDLE_ERROR); fi; + + endef # Allow specifying just the subproject, in the keyboard directory, which will compile all keymaps