Skip to content
Snippets Groups Projects
Commit 3864d33e authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

make buildtest more readable

parent 64c46b0a
No related branches found
No related tags found
No related merge requests found
...@@ -113,5 +113,17 @@ debug: ...@@ -113,5 +113,17 @@ debug:
buildtest: buildtest:
@for BOARD in $$(find $(RIOTBOARD) -mindepth 1 -maxdepth 1 -type d \! -name \*-common -printf '%f\n' ); do \ @for BOARD in $$(find $(RIOTBOARD) -mindepth 1 -maxdepth 1 -type d \! -name \*-common -printf '%f\n' ); do \
echo -n "Building for $${BOARD} .. "; \ echo -n "Building for $${BOARD} .. "; \
env -i HOME=$${HOME} PATH=$${PATH} BOARD=$${BOARD} RIOTBASE=$${RIOTBASE} RIOTBOARD=$${RIOTBOARD} RIOTCPU=$${RIOTCPU} $(MAKE) -B clean all >/dev/null 2>&1 && echo -e "\033[1;32msuccess\033[0m" || echo -e "\033[1;31mfailed\033[0m" ; \ env -i \
done HOME=$${HOME} \
PATH=$${PATH} \
BOARD=$${BOARD} \
RIOTBASE=$${RIOTBASE} \
RIOTBOARD=$${RIOTBOARD} \
RIOTCPU=$${RIOTCPU} \
$(MAKE) -B clean all >/dev/null 2>&1 ; \
if [ "$${?}" = "0" ]; then \
echo -e "\033[1;32msuccess\033[0m"; \
else \
echo -e "\033[1;31mfailed\033[0m"; \
fi; \
done; \
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