From 58bcde876a3f12fdcaa84b31b69807cada99bf4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= <gaetan.harter@fu-berlin.de> Date: Wed, 21 Nov 2018 18:56:21 +0100 Subject: [PATCH] tests/cortexm_common_ldscript: only execute compile-tests in docker Without the protection, the host system also tries to execute the tests. --- tests/cortexm_common_ldscript/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/cortexm_common_ldscript/Makefile b/tests/cortexm_common_ldscript/Makefile index 5bd527ef86..d04e375c71 100644 --- a/tests/cortexm_common_ldscript/Makefile +++ b/tests/cortexm_common_ldscript/Makefile @@ -27,7 +27,10 @@ include $(RIOTBASE)/Makefile.include COMPILE_TESTS = test-elffile-overflow test-elffile-fw_rom_length COMPILE_TESTS += tests-offsets tests-fw_rom_len tests-rom-overflow +# The tests should only be executed in build environment +ifneq ($(BUILD_IN_DOCKER),1) all: compile-tests +endif compile-tests: $(COMPILE_TESTS) .PHONY: compile-tests $(COMPILE_TESTS) -- GitLab