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:
Gaëtan Harter 2018-11-21 18:56:21 +01:00
parent aea71dc309
commit 4dd6eb3e5b
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -7,7 +7,10 @@ include $(RIOTBASE)/Makefile.include
# Compile time tests
.PHONY: compile-test test-newlib-nano
# The tests should only be executed in build environment
ifneq ($(BUILD_IN_DOCKER),1)
all: compile-test
endif
ifneq (,$(filter newlib,$(USEMODULE)))
COMPILE_TESTS += test-newlib