mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/tests/tests.inc.mk: use native
term for tests
This commit is contained in:
parent
59b687cf68
commit
b166327354
@ -22,6 +22,10 @@ TEST_DEPS += $(TERMDEPS)
|
|||||||
TEST_EXECUTOR ?=
|
TEST_EXECUTOR ?=
|
||||||
TEST_EXECUTOR_FLAGS ?=
|
TEST_EXECUTOR_FLAGS ?=
|
||||||
|
|
||||||
|
ifeq (native, $(BOARD))
|
||||||
|
TEST_EXECUTOR := RIOT_TERMINAL=native $(TEST_EXECUTOR)
|
||||||
|
endif
|
||||||
|
|
||||||
test: $(TEST_DEPS)
|
test: $(TEST_DEPS)
|
||||||
$(Q) for t in $(TESTS); do \
|
$(Q) for t in $(TESTS); do \
|
||||||
$(TEST_EXECUTOR) $(TEST_EXECUTOR_FLAGS) $$t || exit 1; \
|
$(TEST_EXECUTOR) $(TEST_EXECUTOR_FLAGS) $$t || exit 1; \
|
||||||
|
Loading…
Reference in New Issue
Block a user