make: add test-murdock target

This commit is contained in:
Kaspar Schleiser 2018-03-19 11:31:52 +01:00
parent 8060f55227
commit 35c73c83d0
2 changed files with 10 additions and 0 deletions

View File

@ -593,8 +593,12 @@ CFLAGS += -include '$(RIOTBUILD_CONFIG_HEADER_C)'
# include mcuboot support
include $(RIOTMAKE)/mcuboot.mk
# include Murdock helpers
include $(RIOTMAKE)/murdock.inc.mk
# Sanity check, 'all' should be the default goal
ifneq (all, $(.DEFAULT_GOAL))
$(error .DEFAULT_GOAL := $(.DEFAULT_GOAL))
endif
endif # BOARD=none

6
makefiles/murdock.inc.mk Normal file
View File

@ -0,0 +1,6 @@
test-murdock: link
cd $(RIOTBASE) && \
./.murdock make_test_job \
$$(realpath --relative-to $(RIOTBASE) $(APPDIR)) \
$(BOARD) \
$(HEXFILE)