From 4dd6eb3e5bd4a11038c2ad2429770edcd98aeb5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Wed, 21 Nov 2018 18:56:21 +0100 Subject: [PATCH] tests/libc_newlib: only execute compile-test in docker Without the protection, the host system also tries to execute the tests. --- tests/libc_newlib/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/libc_newlib/Makefile b/tests/libc_newlib/Makefile index 461fb0e2e6..72024805c5 100644 --- a/tests/libc_newlib/Makefile +++ b/tests/libc_newlib/Makefile @@ -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