tests/libc_newlib: only execute compile-test in docker
Without the protection, the host system also tries to execute the tests.
This commit is contained in:
parent
aea71dc309
commit
4dd6eb3e5b
@ -7,7 +7,10 @@ include $(RIOTBASE)/Makefile.include
|
|||||||
|
|
||||||
# Compile time tests
|
# Compile time tests
|
||||||
.PHONY: compile-test test-newlib-nano
|
.PHONY: compile-test test-newlib-nano
|
||||||
|
# The tests should only be executed in build environment
|
||||||
|
ifneq ($(BUILD_IN_DOCKER),1)
|
||||||
all: compile-test
|
all: compile-test
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter newlib,$(USEMODULE)))
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
||||||
COMPILE_TESTS += test-newlib
|
COMPILE_TESTS += test-newlib
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user