Skip to content

Commit

Permalink
Merge pull request #3268 from phiros/make_buildtest_clean_after_build
Browse files Browse the repository at this point in the history
make: clean buildtest artifacts after build success/fail
  • Loading branch information
phiros committed Jul 1, 2015
2 parents 4a2af80 + 19364b3 commit 4581945
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile.buildtests
Expand Up @@ -70,6 +70,20 @@ buildtest:
fi; \
break; \
done; \
env -i \
HOME=$${HOME} \
PATH=$${PATH} \
BOARD=$${BOARD} \
CCACHE=$${CCACHE} \
CCACHE_DIR=$${CCACHE_DIR} \
CCACHE_BASEDIR=$${CCACHE_BASEDIR} \
RIOTBASE=$${RIOTBASE} \
RIOTBOARD=$${RIOTBOARD} \
RIOTCPU=$${RIOTCPU} \
BINDIRBASE=$${BINDIRBASE} \
RIOTNOLINK=$${RIOTNOLINK} \
RIOT_VERSION=$${RIOT_VERSION} \
$(MAKE) clean 2>&1 >/dev/null || true; \
done; \
$${BUILDTESTOK}
endif # BUILD_IN_DOCKER
Expand Down

0 comments on commit 4581945

Please sign in to comment.