1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
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:
bors[bot] 2023-05-11 13:02:05 +00:00 committed by GitHub
commit 4af0376c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
164 changed files with 19 additions and 16 deletions

View File

@ -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"

View File

@ -15,6 +15,7 @@ APPLICATION_DIRS := \
examples \
tests \
tests/bench \
tests/build_system \
tests/core \
tests/drivers \
tests/periph \

View File

@ -0,0 +1,2 @@
RIOTBASE ?= $(CURDIR)/../../..
include $(CURDIR)/../../Makefile.tests_common

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common
include ../Makefile.build_system_common
USEMODULE += fmt

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common
include ../Makefile.build_system_common
FEATURES_REQUIRED += cpp libstdcpp

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common
include ../Makefile.build_system_common
FEATURES_REQUIRED += cpp libstdcpp

View File

@ -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)/

View File

@ -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`.

View File

@ -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