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:
parent
4dd6eb3e5b
commit
58bcde876a
@ -27,7 +27,10 @@ include $(RIOTBASE)/Makefile.include
|
|||||||
COMPILE_TESTS = test-elffile-overflow test-elffile-fw_rom_length
|
COMPILE_TESTS = test-elffile-overflow test-elffile-fw_rom_length
|
||||||
COMPILE_TESTS += tests-offsets tests-fw_rom_len tests-rom-overflow
|
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
|
all: compile-tests
|
||||||
|
endif
|
||||||
|
|
||||||
compile-tests: $(COMPILE_TESTS)
|
compile-tests: $(COMPILE_TESTS)
|
||||||
.PHONY: compile-tests $(COMPILE_TESTS)
|
.PHONY: compile-tests $(COMPILE_TESTS)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user