Skip to content

Commit

Permalink
makefiles/tests/tests.inc.mk: use native term for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Dec 23, 2023
1 parent 59b687c commit b166327
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions makefiles/tests/tests.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit b166327

Please sign in to comment.