Skip to content
Snippets Groups Projects
Unverified Commit feb3912c authored by Gaëtan Harter's avatar Gaëtan Harter Committed by GitHub
Browse files

Merge pull request #9741 from cladmi/pr/make/buildtest/override_redirection

makefiles/buildtests.inc.mk: allow overwriting make output redirection
parents 513e3eca bfbc9c1c
No related branches found
No related tags found
No related merge requests found
.PHONY: buildtest .PHONY: buildtest
BUILDTEST_MAKE_REDIRECT ?= >/dev/null 2>&1
ifeq ($(BUILD_IN_DOCKER),1) ifeq ($(BUILD_IN_DOCKER),1)
buildtest: ..in-docker-container buildtest: ..in-docker-container
else else
...@@ -9,7 +11,7 @@ buildtest: ...@@ -9,7 +11,7 @@ buildtest:
for board in $(BOARDS); do \ for board in $(BOARDS); do \
$(COLOR_ECHO) -n "Building for $$board ... " ; \ $(COLOR_ECHO) -n "Building for $$board ... " ; \
BOARD=$${board} RIOT_CI_BUILD=1 RIOT_VERSION_OVERRIDE=buildtest \ BOARD=$${board} RIOT_CI_BUILD=1 RIOT_VERSION_OVERRIDE=buildtest \
$(MAKE) clean all -j $(NPROC) >/dev/null 2>&1; \ $(MAKE) clean all -j $(NPROC) $(BUILDTEST_MAKE_REDIRECT); \
RES=$$? ; \ RES=$$? ; \
if [ $$RES -eq 0 ]; then \ if [ $$RES -eq 0 ]; then \
$(COLOR_ECHO) "$(COLOR_GREEN)success.$(COLOR_RESET)" ; \ $(COLOR_ECHO) "$(COLOR_GREEN)success.$(COLOR_RESET)" ; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment