Skip to content
Snippets Groups Projects
Unverified Commit 58bcde87 authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

tests/cortexm_common_ldscript: only execute compile-tests in docker

Without the protection, the host system also tries to execute the tests.
parent 4dd6eb3e
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,10 @@ include $(RIOTBASE)/Makefile.include ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment