-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20967 from maribu/tests/no-sync-control
tests: no default interactive sync for native
- Loading branch information
Showing
5 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
APPLICATION ?= tests_$(notdir $(patsubst %/,%,$(CURDIR))) | ||
BOARD ?= native | ||
RIOTBASE ?= $(CURDIR)/../.. | ||
QUIET ?= 1 | ||
# DEVELHELP enabled by default for all tests, set 0 to disable | ||
DEVELHELP ?= 1 | ||
|
||
ifneq (,$(wildcard $(CURDIR)/tests*/.)) | ||
# add interactive test configuration when testing Kconfig | ||
DEFAULT_MODULE += test_utils_interactive_sync | ||
# add stack metric printing configuration when testing Kconfig | ||
# add interactive test configuration when automated testing is available, | ||
# except for `native` and `native64` where we control when the RIOT app is | ||
# started | ||
ifeq (,$(filter native native64,$(BOARD))) | ||
DEFAULT_MODULE += test_utils_interactive_sync | ||
endif | ||
# print stack usage by default when automated testing is available | ||
DEFAULT_MODULE += test_utils_print_stack_usage | ||
endif | ||
|
||
# terminate native when the test is complete | ||
CFLAGS += -DNATIVE_AUTO_EXIT=1 | ||
|
||
BOARD ?= native | ||
RIOTBASE ?= $(CURDIR)/../.. | ||
QUIET ?= 1 | ||
# DEVELHELP enabled by default for all tests, set 0 to disable | ||
DEVELHELP ?= 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters