1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/cortexm_common_ldscript: only execute compile-tests 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 4dd6eb3e5b
commit 58bcde876a
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -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)