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:
parent
4dd6eb3e5b
commit
58bcde876a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user