mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19567
19567: tests: move build system applications to tests/build_system r=aabadie a=aabadie Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
This commit is contained in:
commit
4af0376c18
2
dist/tools/buildsystem_sanity_check/check.sh
vendored
2
dist/tools/buildsystem_sanity_check/check.sh
vendored
@ -261,7 +261,7 @@ checks_tests_application_not_defined_in_makefile() {
|
||||
patterns+=(-e '^[[:space:]]*APPLICATION[[:space:]:+]=')
|
||||
|
||||
pathspec+=('tests/**/Makefile')
|
||||
pathspec+=(':!tests/external_board_native/Makefile')
|
||||
pathspec+=(':!tests/build_system/external_board_native/Makefile')
|
||||
|
||||
git -C "${RIOTBASE}" grep -n "${patterns[@]}" -- "${pathspec[@]}" \
|
||||
| error_with_message "Don't define APPLICATION in test Makefile"
|
||||
|
@ -15,6 +15,7 @@ APPLICATION_DIRS := \
|
||||
examples \
|
||||
tests \
|
||||
tests/bench \
|
||||
tests/build_system \
|
||||
tests/core \
|
||||
tests/drivers \
|
||||
tests/periph \
|
||||
|
2
tests/build_system/Makefile.build_system_common
Normal file
2
tests/build_system/Makefile.build_system_common
Normal file
@ -0,0 +1,2 @@
|
||||
RIOTBASE ?= $(CURDIR)/../../..
|
||||
include $(CURDIR)/../../Makefile.tests_common
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.build_system_common
|
||||
|
||||
USEMODULE += fmt
|
||||
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.build_system_common
|
||||
CFLAGS += -DSUPER_STRING='"I love sentences with spaces"'
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= samr21-xpro
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.build_system_common
|
||||
|
||||
|
||||
# Normally all boards using `cortexm_common/ldscripts/cortexm.ld` linkerscript
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.build_system_common
|
||||
|
||||
FEATURES_REQUIRED += cpp libstdcpp
|
||||
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.build_system_common
|
||||
|
||||
FEATURES_REQUIRED += cpp libstdcpp
|
||||
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.build_system_common
|
||||
|
||||
# Require arch_native feature so this is not compiled for other boards in
|
||||
# $(RIOTBOARD)/
|
@ -1,5 +1,5 @@
|
||||
APPLICATION = external_board
|
||||
RIOTBASE ?= $(CURDIR)/../../
|
||||
RIOTBASE ?= $(CURDIR)/../../../
|
||||
|
||||
# Only support this board
|
||||
# No need for a `WHITELIST` as there is only one board in `external_boards`.
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.build_system_common
|
||||
USEMODULE += random
|
||||
|
||||
USEMODULE += external_module
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user