1
0
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:
Benjamin Valentin 2023-12-23 18:20:37 +01:00
parent 59b687cf68
commit b166327354

View File

@ -22,6 +22,10 @@ TEST_DEPS += $(TERMDEPS)
TEST_EXECUTOR ?=
TEST_EXECUTOR_FLAGS ?=
ifeq (native, $(BOARD))
TEST_EXECUTOR := RIOT_TERMINAL=native $(TEST_EXECUTOR)
endif
test: $(TEST_DEPS)
$(Q) for t in $(TESTS); do \
$(TEST_EXECUTOR) $(TEST_EXECUTOR_FLAGS) $$t || exit 1; \