diff --git a/boards/p-l496g-cell02/include/periph_conf.h b/boards/p-l496g-cell02/include/periph_conf.h index d4e78d90b8..5195fdcd74 100644 --- a/boards/p-l496g-cell02/include/periph_conf.h +++ b/boards/p-l496g-cell02/include/periph_conf.h @@ -78,8 +78,8 @@ static const uart_conf_t uart_config[] = { { /* STMod+/PMOD connectors */ .dev = USART1, .rcc_mask = RCC_APB2ENR_USART1EN, - .rx_pin = GPIO_PIN(PORT_B, 6), - .tx_pin = GPIO_PIN(PORT_G, 10), + .rx_pin = GPIO_PIN(PORT_G, 10), + .tx_pin = GPIO_PIN(PORT_B, 6), .rx_af = GPIO_AF7, .tx_af = GPIO_AF7, .bus = APB2, diff --git a/makefiles/app_dirs.inc.mk b/makefiles/app_dirs.inc.mk index bb315e4126..e7c2a9e7d3 100644 --- a/makefiles/app_dirs.inc.mk +++ b/makefiles/app_dirs.inc.mk @@ -18,6 +18,7 @@ APPLICATION_DIRS := \ tests/drivers \ tests/periph \ tests/pkg \ + tests/sys \ # APPLICATION_DIRS := $(addprefix $(RIOTBASE)/,$(APPLICATION_DIRS)) diff --git a/tests/core/Makefile.sys_common b/tests/core/Makefile.sys_common new file mode 100644 index 0000000000..ecfb7b7d01 --- /dev/null +++ b/tests/core/Makefile.sys_common @@ -0,0 +1,2 @@ +RIOTBASE ?= $(CURDIR)/../../.. +include $(CURDIR)/../../Makefile.tests_common diff --git a/tests/pkg/tinyusb_cdc_acm_stdio/main.c b/tests/pkg/tinyusb_cdc_acm_stdio/main.c index d533f5512f..61e567303d 120000 --- a/tests/pkg/tinyusb_cdc_acm_stdio/main.c +++ b/tests/pkg/tinyusb_cdc_acm_stdio/main.c @@ -1 +1 @@ -../../usbus_cdc_acm_stdio/main.c \ No newline at end of file +../../sys/usbus_cdc_acm_stdio/main.c \ No newline at end of file diff --git a/tests/rust_libs/main.c b/tests/rust_libs/main.c index c541a5892a..50264d25a6 120000 --- a/tests/rust_libs/main.c +++ b/tests/rust_libs/main.c @@ -1 +1 @@ -../shell/main.c \ No newline at end of file +../sys/shell/main.c \ No newline at end of file diff --git a/tests/sys/Makefile.sys_common b/tests/sys/Makefile.sys_common new file mode 100644 index 0000000000..ecfb7b7d01 --- /dev/null +++ b/tests/sys/Makefile.sys_common @@ -0,0 +1,2 @@ +RIOTBASE ?= $(CURDIR)/../../.. +include $(CURDIR)/../../Makefile.tests_common diff --git a/tests/sys_architecture/Makefile b/tests/sys/architecture/Makefile similarity index 90% rename from tests/sys_architecture/Makefile rename to tests/sys/architecture/Makefile index c37bb47c46..7a7d9d76b5 100644 --- a/tests/sys_architecture/Makefile +++ b/tests/sys/architecture/Makefile @@ -1,5 +1,5 @@ BOARD ?= samr21-xpro -include ../Makefile.tests_common +include ../Makefile.sys_common include $(RIOTBASE)/Makefile.include diff --git a/tests/sys_architecture/main.c b/tests/sys/architecture/main.c similarity index 100% rename from tests/sys_architecture/main.c rename to tests/sys/architecture/main.c diff --git a/tests/sys_architecture/tests/01-run.py b/tests/sys/architecture/tests/01-run.py similarity index 100% rename from tests/sys_architecture/tests/01-run.py rename to tests/sys/architecture/tests/01-run.py diff --git a/tests/sys_arduino/Makefile b/tests/sys/arduino/Makefile similarity index 71% rename from tests/sys_arduino/Makefile rename to tests/sys/arduino/Makefile index 36d06d3558..060edff459 100644 --- a/tests/sys_arduino/Makefile +++ b/tests/sys/arduino/Makefile @@ -1,6 +1,6 @@ BOARD ?= arduino-zero -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += arduino diff --git a/tests/cb_mux_bench/Makefile.ci b/tests/sys/arduino/Makefile.ci similarity index 100% rename from tests/cb_mux_bench/Makefile.ci rename to tests/sys/arduino/Makefile.ci diff --git a/tests/sys_arduino/app.config.test b/tests/sys/arduino/app.config.test similarity index 100% rename from tests/sys_arduino/app.config.test rename to tests/sys/arduino/app.config.test diff --git a/tests/sys_arduino/arduino-test.sketch b/tests/sys/arduino/arduino-test.sketch similarity index 100% rename from tests/sys_arduino/arduino-test.sketch rename to tests/sys/arduino/arduino-test.sketch diff --git a/tests/sys_arduino/tests/01-run.py b/tests/sys/arduino/tests/01-run.py similarity index 100% rename from tests/sys_arduino/tests/01-run.py rename to tests/sys/arduino/tests/01-run.py diff --git a/tests/sys_arduino_analog/Makefile b/tests/sys/arduino_analog/Makefile similarity index 89% rename from tests/sys_arduino_analog/Makefile rename to tests/sys/arduino_analog/Makefile index 061d9111d3..487524d7d8 100644 --- a/tests/sys_arduino_analog/Makefile +++ b/tests/sys/arduino_analog/Makefile @@ -1,6 +1,6 @@ BOARD ?= arduino-zero -include ../Makefile.tests_common +include ../Makefile.sys_common LED_PIN ?= 3 diff --git a/tests/sys_arduino_analog/arduino-test.sketch b/tests/sys/arduino_analog/arduino-test.sketch similarity index 100% rename from tests/sys_arduino_analog/arduino-test.sketch rename to tests/sys/arduino_analog/arduino-test.sketch diff --git a/tests/sys_arduino_lib/Makefile b/tests/sys/arduino_lib/Makefile similarity index 72% rename from tests/sys_arduino_lib/Makefile rename to tests/sys/arduino_lib/Makefile index 94f4af90bc..cc0aba4183 100644 --- a/tests/sys_arduino_lib/Makefile +++ b/tests/sys/arduino_lib/Makefile @@ -1,6 +1,6 @@ BOARD ?= arduino-zero -include ../Makefile.tests_common +include ../Makefile.sys_common USEPKG += talking_leds diff --git a/tests/sys_arduino_lib/Makefile.ci b/tests/sys/arduino_lib/Makefile.ci similarity index 100% rename from tests/sys_arduino_lib/Makefile.ci rename to tests/sys/arduino_lib/Makefile.ci diff --git a/tests/sys_arduino_lib/main.cpp b/tests/sys/arduino_lib/main.cpp similarity index 100% rename from tests/sys_arduino_lib/main.cpp rename to tests/sys/arduino_lib/main.cpp diff --git a/tests/sys_atomic_utils/Makefile b/tests/sys/atomic_utils/Makefile similarity index 86% rename from tests/sys_atomic_utils/Makefile rename to tests/sys/atomic_utils/Makefile index 346745f372..2e631af7ea 100644 --- a/tests/sys_atomic_utils/Makefile +++ b/tests/sys/atomic_utils/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += atomic_utils USEMODULE += fmt diff --git a/tests/sys_atomic_utils/Makefile.ci b/tests/sys/atomic_utils/Makefile.ci similarity index 100% rename from tests/sys_atomic_utils/Makefile.ci rename to tests/sys/atomic_utils/Makefile.ci diff --git a/tests/sys_atomic_utils/README.md b/tests/sys/atomic_utils/README.md similarity index 100% rename from tests/sys_atomic_utils/README.md rename to tests/sys/atomic_utils/README.md diff --git a/tests/sys_atomic_utils/app.config.test b/tests/sys/atomic_utils/app.config.test similarity index 100% rename from tests/sys_atomic_utils/app.config.test rename to tests/sys/atomic_utils/app.config.test diff --git a/tests/sys_atomic_utils/main.c b/tests/sys/atomic_utils/main.c similarity index 100% rename from tests/sys_atomic_utils/main.c rename to tests/sys/atomic_utils/main.c diff --git a/tests/sys_atomic_utils/tests/01-run.py b/tests/sys/atomic_utils/tests/01-run.py similarity index 100% rename from tests/sys_atomic_utils/tests/01-run.py rename to tests/sys/atomic_utils/tests/01-run.py diff --git a/tests/sys_atomic_utils_unittests/Makefile b/tests/sys/atomic_utils_unittests/Makefile similarity index 81% rename from tests/sys_atomic_utils_unittests/Makefile rename to tests/sys/atomic_utils_unittests/Makefile index d783512760..debcbf9b6c 100644 --- a/tests/sys_atomic_utils_unittests/Makefile +++ b/tests/sys/atomic_utils_unittests/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += embunit USEMODULE += atomic_utils diff --git a/tests/sys_atomic_utils_unittests/app.config.test b/tests/sys/atomic_utils_unittests/app.config.test similarity index 100% rename from tests/sys_atomic_utils_unittests/app.config.test rename to tests/sys/atomic_utils_unittests/app.config.test diff --git a/tests/sys_atomic_utils_unittests/main.c b/tests/sys/atomic_utils_unittests/main.c similarity index 100% rename from tests/sys_atomic_utils_unittests/main.c rename to tests/sys/atomic_utils_unittests/main.c diff --git a/tests/sys_atomic_utils_unittests/tests/01-run.py b/tests/sys/atomic_utils_unittests/tests/01-run.py similarity index 100% rename from tests/sys_atomic_utils_unittests/tests/01-run.py rename to tests/sys/atomic_utils_unittests/tests/01-run.py diff --git a/tests/bloom_bytes/Makefile b/tests/sys/bloom_bytes/Makefile similarity index 83% rename from tests/bloom_bytes/Makefile rename to tests/sys/bloom_bytes/Makefile index a72dd44af1..c2012d9662 100644 --- a/tests/bloom_bytes/Makefile +++ b/tests/sys/bloom_bytes/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += hashes USEMODULE += bloom diff --git a/tests/bloom_bytes/Makefile.ci b/tests/sys/bloom_bytes/Makefile.ci similarity index 100% rename from tests/bloom_bytes/Makefile.ci rename to tests/sys/bloom_bytes/Makefile.ci diff --git a/tests/bloom_bytes/main.c b/tests/sys/bloom_bytes/main.c similarity index 100% rename from tests/bloom_bytes/main.c rename to tests/sys/bloom_bytes/main.c diff --git a/tests/bloom_bytes/tests/01-run.py b/tests/sys/bloom_bytes/tests/01-run.py similarity index 100% rename from tests/bloom_bytes/tests/01-run.py rename to tests/sys/bloom_bytes/tests/01-run.py diff --git a/tests/c11_atomics_cpp_compat/Makefile b/tests/sys/c11_atomics_cpp_compat/Makefile similarity index 80% rename from tests/c11_atomics_cpp_compat/Makefile rename to tests/sys/c11_atomics_cpp_compat/Makefile index 986490ca6a..049058d836 100644 --- a/tests/c11_atomics_cpp_compat/Makefile +++ b/tests/sys/c11_atomics_cpp_compat/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common # As it is a simple compilation test, only the basic modules are needed DISABLE_MODULE := core_msg diff --git a/tests/c11_atomics_cpp_compat/README.md b/tests/sys/c11_atomics_cpp_compat/README.md similarity index 100% rename from tests/c11_atomics_cpp_compat/README.md rename to tests/sys/c11_atomics_cpp_compat/README.md diff --git a/tests/c11_atomics_cpp_compat/main.c b/tests/sys/c11_atomics_cpp_compat/main.c similarity index 100% rename from tests/c11_atomics_cpp_compat/main.c rename to tests/sys/c11_atomics_cpp_compat/main.c diff --git a/tests/can_trx/Makefile b/tests/sys/can_trx/Makefile similarity index 94% rename from tests/can_trx/Makefile rename to tests/sys/can_trx/Makefile index 514a9735d1..0ae8547634 100644 --- a/tests/can_trx/Makefile +++ b/tests/sys/can_trx/Makefile @@ -1,5 +1,5 @@ export APPLICATION = can_trx -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += shell_cmds_default USEMODULE += ps diff --git a/tests/can_trx/Makefile.ci b/tests/sys/can_trx/Makefile.ci similarity index 100% rename from tests/can_trx/Makefile.ci rename to tests/sys/can_trx/Makefile.ci diff --git a/tests/can_trx/main.c b/tests/sys/can_trx/main.c similarity index 100% rename from tests/can_trx/main.c rename to tests/sys/can_trx/main.c diff --git a/tests/candev/Makefile b/tests/sys/candev/Makefile similarity index 74% rename from tests/candev/Makefile rename to tests/sys/candev/Makefile index b323ce96e0..1f55f7b9a3 100644 --- a/tests/candev/Makefile +++ b/tests/sys/candev/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += shell USEMODULE += can diff --git a/tests/candev/Makefile.board.dep b/tests/sys/candev/Makefile.board.dep similarity index 100% rename from tests/candev/Makefile.board.dep rename to tests/sys/candev/Makefile.board.dep diff --git a/tests/candev/Makefile.ci b/tests/sys/candev/Makefile.ci similarity index 100% rename from tests/candev/Makefile.ci rename to tests/sys/candev/Makefile.ci diff --git a/tests/candev/README.md b/tests/sys/candev/README.md similarity index 100% rename from tests/candev/README.md rename to tests/sys/candev/README.md diff --git a/tests/candev/README.native.can.md b/tests/sys/candev/README.native.can.md similarity index 100% rename from tests/candev/README.native.can.md rename to tests/sys/candev/README.native.can.md diff --git a/tests/candev/main.c b/tests/sys/candev/main.c similarity index 100% rename from tests/candev/main.c rename to tests/sys/candev/main.c diff --git a/tests/cb_mux/Makefile b/tests/sys/cb_mux/Makefile similarity index 64% rename from tests/cb_mux/Makefile rename to tests/sys/cb_mux/Makefile index 6c49b23eb9..1c94674323 100644 --- a/tests/cb_mux/Makefile +++ b/tests/sys/cb_mux/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += cb_mux diff --git a/tests/cb_mux/app.config.test b/tests/sys/cb_mux/app.config.test similarity index 100% rename from tests/cb_mux/app.config.test rename to tests/sys/cb_mux/app.config.test diff --git a/tests/cb_mux/main.c b/tests/sys/cb_mux/main.c similarity index 100% rename from tests/cb_mux/main.c rename to tests/sys/cb_mux/main.c diff --git a/tests/cb_mux/tests/01-run.py b/tests/sys/cb_mux/tests/01-run.py similarity index 100% rename from tests/cb_mux/tests/01-run.py rename to tests/sys/cb_mux/tests/01-run.py diff --git a/tests/cb_mux_bench/Makefile b/tests/sys/cb_mux_bench/Makefile similarity index 71% rename from tests/cb_mux_bench/Makefile rename to tests/sys/cb_mux_bench/Makefile index 9e1172b54c..d819770e8c 100644 --- a/tests/cb_mux_bench/Makefile +++ b/tests/sys/cb_mux_bench/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += cb_mux \ xtimer diff --git a/tests/event_periodic_callback/Makefile.ci b/tests/sys/cb_mux_bench/Makefile.ci similarity index 100% rename from tests/event_periodic_callback/Makefile.ci rename to tests/sys/cb_mux_bench/Makefile.ci diff --git a/tests/cb_mux_bench/app.config.test b/tests/sys/cb_mux_bench/app.config.test similarity index 100% rename from tests/cb_mux_bench/app.config.test rename to tests/sys/cb_mux_bench/app.config.test diff --git a/tests/cb_mux_bench/main.c b/tests/sys/cb_mux_bench/main.c similarity index 100% rename from tests/cb_mux_bench/main.c rename to tests/sys/cb_mux_bench/main.c diff --git a/tests/cb_mux_bench/tests/01-run.py b/tests/sys/cb_mux_bench/tests/01-run.py similarity index 100% rename from tests/cb_mux_bench/tests/01-run.py rename to tests/sys/cb_mux_bench/tests/01-run.py diff --git a/tests/congure_abe/Makefile b/tests/sys/congure_abe/Makefile similarity index 90% rename from tests/congure_abe/Makefile rename to tests/sys/congure_abe/Makefile index 4744deaf04..c0965569fc 100644 --- a/tests/congure_abe/Makefile +++ b/tests/sys/congure_abe/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += congure_abe USEMODULE += congure_test diff --git a/tests/congure_abe/Makefile.ci b/tests/sys/congure_abe/Makefile.ci similarity index 100% rename from tests/congure_abe/Makefile.ci rename to tests/sys/congure_abe/Makefile.ci diff --git a/tests/congure_abe/README.md b/tests/sys/congure_abe/README.md similarity index 100% rename from tests/congure_abe/README.md rename to tests/sys/congure_abe/README.md diff --git a/tests/congure_abe/app.config b/tests/sys/congure_abe/app.config similarity index 100% rename from tests/congure_abe/app.config rename to tests/sys/congure_abe/app.config diff --git a/tests/congure_abe/app.config.test b/tests/sys/congure_abe/app.config.test similarity index 100% rename from tests/congure_abe/app.config.test rename to tests/sys/congure_abe/app.config.test diff --git a/tests/congure_abe/congure_impl.c b/tests/sys/congure_abe/congure_impl.c similarity index 100% rename from tests/congure_abe/congure_impl.c rename to tests/sys/congure_abe/congure_impl.c diff --git a/tests/congure_abe/congure_impl.h b/tests/sys/congure_abe/congure_impl.h similarity index 100% rename from tests/congure_abe/congure_impl.h rename to tests/sys/congure_abe/congure_impl.h diff --git a/tests/congure_abe/main.c b/tests/sys/congure_abe/main.c similarity index 100% rename from tests/congure_abe/main.c rename to tests/sys/congure_abe/main.c diff --git a/tests/congure_abe/tests/01-run.py b/tests/sys/congure_abe/tests/01-run.py similarity index 100% rename from tests/congure_abe/tests/01-run.py rename to tests/sys/congure_abe/tests/01-run.py diff --git a/tests/congure_quic/Makefile b/tests/sys/congure_quic/Makefile similarity index 90% rename from tests/congure_quic/Makefile rename to tests/sys/congure_quic/Makefile index 67778fa607..5b764a50e1 100644 --- a/tests/congure_quic/Makefile +++ b/tests/sys/congure_quic/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += congure_quic USEMODULE += congure_test diff --git a/tests/congure_quic/Makefile.ci b/tests/sys/congure_quic/Makefile.ci similarity index 100% rename from tests/congure_quic/Makefile.ci rename to tests/sys/congure_quic/Makefile.ci diff --git a/tests/congure_quic/README.md b/tests/sys/congure_quic/README.md similarity index 100% rename from tests/congure_quic/README.md rename to tests/sys/congure_quic/README.md diff --git a/tests/congure_quic/app.config b/tests/sys/congure_quic/app.config similarity index 100% rename from tests/congure_quic/app.config rename to tests/sys/congure_quic/app.config diff --git a/tests/congure_quic/app.config.test b/tests/sys/congure_quic/app.config.test similarity index 100% rename from tests/congure_quic/app.config.test rename to tests/sys/congure_quic/app.config.test diff --git a/tests/congure_quic/congure_impl.c b/tests/sys/congure_quic/congure_impl.c similarity index 100% rename from tests/congure_quic/congure_impl.c rename to tests/sys/congure_quic/congure_impl.c diff --git a/tests/congure_quic/congure_impl.h b/tests/sys/congure_quic/congure_impl.h similarity index 100% rename from tests/congure_quic/congure_impl.h rename to tests/sys/congure_quic/congure_impl.h diff --git a/tests/congure_quic/main.c b/tests/sys/congure_quic/main.c similarity index 100% rename from tests/congure_quic/main.c rename to tests/sys/congure_quic/main.c diff --git a/tests/congure_quic/tests/01-run.py b/tests/sys/congure_quic/tests/01-run.py similarity index 100% rename from tests/congure_quic/tests/01-run.py rename to tests/sys/congure_quic/tests/01-run.py diff --git a/tests/congure_reno/Makefile b/tests/sys/congure_reno/Makefile similarity index 93% rename from tests/congure_reno/Makefile rename to tests/sys/congure_reno/Makefile index 0896ac0bcb..3f7086616f 100644 --- a/tests/congure_reno/Makefile +++ b/tests/sys/congure_reno/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += congure_reno USEMODULE += congure_test diff --git a/tests/congure_reno/Makefile.ci b/tests/sys/congure_reno/Makefile.ci similarity index 100% rename from tests/congure_reno/Makefile.ci rename to tests/sys/congure_reno/Makefile.ci diff --git a/tests/congure_reno/README.md b/tests/sys/congure_reno/README.md similarity index 100% rename from tests/congure_reno/README.md rename to tests/sys/congure_reno/README.md diff --git a/tests/congure_reno/app.config b/tests/sys/congure_reno/app.config similarity index 100% rename from tests/congure_reno/app.config rename to tests/sys/congure_reno/app.config diff --git a/tests/congure_reno/app.config.test b/tests/sys/congure_reno/app.config.test similarity index 100% rename from tests/congure_reno/app.config.test rename to tests/sys/congure_reno/app.config.test diff --git a/tests/congure_reno/congure_impl.c b/tests/sys/congure_reno/congure_impl.c similarity index 100% rename from tests/congure_reno/congure_impl.c rename to tests/sys/congure_reno/congure_impl.c diff --git a/tests/congure_reno/congure_impl.h b/tests/sys/congure_reno/congure_impl.h similarity index 100% rename from tests/congure_reno/congure_impl.h rename to tests/sys/congure_reno/congure_impl.h diff --git a/tests/congure_reno/main.c b/tests/sys/congure_reno/main.c similarity index 100% rename from tests/congure_reno/main.c rename to tests/sys/congure_reno/main.c diff --git a/tests/congure_reno/tests/01-run.py b/tests/sys/congure_reno/tests/01-run.py similarity index 100% rename from tests/congure_reno/tests/01-run.py rename to tests/sys/congure_reno/tests/01-run.py diff --git a/tests/congure_test/Makefile b/tests/sys/congure_test/Makefile similarity index 95% rename from tests/congure_test/Makefile rename to tests/sys/congure_test/Makefile index 7039a0091c..54bfed98a5 100644 --- a/tests/congure_test/Makefile +++ b/tests/sys/congure_test/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += congure_mock USEMODULE += congure_test diff --git a/tests/congure_test/Makefile.ci b/tests/sys/congure_test/Makefile.ci similarity index 100% rename from tests/congure_test/Makefile.ci rename to tests/sys/congure_test/Makefile.ci diff --git a/tests/congure_test/README.md b/tests/sys/congure_test/README.md similarity index 100% rename from tests/congure_test/README.md rename to tests/sys/congure_test/README.md diff --git a/tests/congure_test/app.config b/tests/sys/congure_test/app.config similarity index 100% rename from tests/congure_test/app.config rename to tests/sys/congure_test/app.config diff --git a/tests/congure_test/app.config.test b/tests/sys/congure_test/app.config.test similarity index 100% rename from tests/congure_test/app.config.test rename to tests/sys/congure_test/app.config.test diff --git a/tests/congure_test/congure_impl.c b/tests/sys/congure_test/congure_impl.c similarity index 100% rename from tests/congure_test/congure_impl.c rename to tests/sys/congure_test/congure_impl.c diff --git a/tests/congure_test/congure_impl.h b/tests/sys/congure_test/congure_impl.h similarity index 100% rename from tests/congure_test/congure_impl.h rename to tests/sys/congure_test/congure_impl.h diff --git a/tests/congure_test/main.c b/tests/sys/congure_test/main.c similarity index 100% rename from tests/congure_test/main.c rename to tests/sys/congure_test/main.c diff --git a/tests/congure_test/tests/01-run.py b/tests/sys/congure_test/tests/01-run.py similarity index 100% rename from tests/congure_test/tests/01-run.py rename to tests/sys/congure_test/tests/01-run.py diff --git a/tests/conn_can/Makefile b/tests/sys/conn_can/Makefile similarity index 96% rename from tests/conn_can/Makefile rename to tests/sys/conn_can/Makefile index afd12ca403..4cf3e05a19 100644 --- a/tests/conn_can/Makefile +++ b/tests/sys/conn_can/Makefile @@ -1,6 +1,6 @@ BOARD ?= nucleo-f767zi -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += shell_cmds_default USEMODULE += ps diff --git a/tests/conn_can/Makefile.ci b/tests/sys/conn_can/Makefile.ci similarity index 100% rename from tests/conn_can/Makefile.ci rename to tests/sys/conn_can/Makefile.ci diff --git a/tests/conn_can/README.md b/tests/sys/conn_can/README.md similarity index 100% rename from tests/conn_can/README.md rename to tests/sys/conn_can/README.md diff --git a/tests/conn_can/main.c b/tests/sys/conn_can/main.c similarity index 100% rename from tests/conn_can/main.c rename to tests/sys/conn_can/main.c diff --git a/tests/cpp11_condition_variable/Makefile b/tests/sys/cpp11_condition_variable/Makefile similarity index 90% rename from tests/cpp11_condition_variable/Makefile rename to tests/sys/cpp11_condition_variable/Makefile index 718ff39e40..dc870b221e 100644 --- a/tests/cpp11_condition_variable/Makefile +++ b/tests/sys/cpp11_condition_variable/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common # nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack # size for every thread diff --git a/tests/cpp11_condition_variable/Makefile.ci b/tests/sys/cpp11_condition_variable/Makefile.ci similarity index 100% rename from tests/cpp11_condition_variable/Makefile.ci rename to tests/sys/cpp11_condition_variable/Makefile.ci diff --git a/tests/cpp11_condition_variable/app.config.test b/tests/sys/cpp11_condition_variable/app.config.test similarity index 100% rename from tests/cpp11_condition_variable/app.config.test rename to tests/sys/cpp11_condition_variable/app.config.test diff --git a/tests/cpp11_condition_variable/main.cpp b/tests/sys/cpp11_condition_variable/main.cpp similarity index 100% rename from tests/cpp11_condition_variable/main.cpp rename to tests/sys/cpp11_condition_variable/main.cpp diff --git a/tests/cpp11_condition_variable/tests/01-run.py b/tests/sys/cpp11_condition_variable/tests/01-run.py similarity index 100% rename from tests/cpp11_condition_variable/tests/01-run.py rename to tests/sys/cpp11_condition_variable/tests/01-run.py diff --git a/tests/cpp11_mutex/Makefile b/tests/sys/cpp11_mutex/Makefile similarity index 74% rename from tests/cpp11_mutex/Makefile rename to tests/sys/cpp11_mutex/Makefile index c3e5700c5a..aaca5737ec 100644 --- a/tests/cpp11_mutex/Makefile +++ b/tests/sys/cpp11_mutex/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += cpp11-compat USEMODULE += libc_gettimeofday diff --git a/tests/cpp11_mutex/Makefile.ci b/tests/sys/cpp11_mutex/Makefile.ci similarity index 100% rename from tests/cpp11_mutex/Makefile.ci rename to tests/sys/cpp11_mutex/Makefile.ci diff --git a/tests/cpp11_mutex/app.config.test b/tests/sys/cpp11_mutex/app.config.test similarity index 100% rename from tests/cpp11_mutex/app.config.test rename to tests/sys/cpp11_mutex/app.config.test diff --git a/tests/cpp11_mutex/main.cpp b/tests/sys/cpp11_mutex/main.cpp similarity index 100% rename from tests/cpp11_mutex/main.cpp rename to tests/sys/cpp11_mutex/main.cpp diff --git a/tests/cpp11_mutex/tests/01-run.py b/tests/sys/cpp11_mutex/tests/01-run.py similarity index 100% rename from tests/cpp11_mutex/tests/01-run.py rename to tests/sys/cpp11_mutex/tests/01-run.py diff --git a/tests/cpp11_thread/Makefile b/tests/sys/cpp11_thread/Makefile similarity index 77% rename from tests/cpp11_thread/Makefile rename to tests/sys/cpp11_thread/Makefile index 08b3f2f6ec..e9ff8c0ba5 100644 --- a/tests/cpp11_thread/Makefile +++ b/tests/sys/cpp11_thread/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += cpp11-compat USEMODULE += ztimer64_usec diff --git a/tests/cpp11_thread/Makefile.ci b/tests/sys/cpp11_thread/Makefile.ci similarity index 100% rename from tests/cpp11_thread/Makefile.ci rename to tests/sys/cpp11_thread/Makefile.ci diff --git a/tests/cpp11_thread/app.config.test b/tests/sys/cpp11_thread/app.config.test similarity index 100% rename from tests/cpp11_thread/app.config.test rename to tests/sys/cpp11_thread/app.config.test diff --git a/tests/cpp11_thread/main.cpp b/tests/sys/cpp11_thread/main.cpp similarity index 100% rename from tests/cpp11_thread/main.cpp rename to tests/sys/cpp11_thread/main.cpp diff --git a/tests/cpp11_thread/tests/01-run.py b/tests/sys/cpp11_thread/tests/01-run.py similarity index 100% rename from tests/cpp11_thread/tests/01-run.py rename to tests/sys/cpp11_thread/tests/01-run.py diff --git a/tests/cpp_ctors/Makefile b/tests/sys/cpp_ctors/Makefile similarity index 72% rename from tests/cpp_ctors/Makefile rename to tests/sys/cpp_ctors/Makefile index 529d26727b..c6e83baa38 100644 --- a/tests/cpp_ctors/Makefile +++ b/tests/sys/cpp_ctors/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += embunit diff --git a/tests/cpp_ctors/Makefile.ci b/tests/sys/cpp_ctors/Makefile.ci similarity index 100% rename from tests/cpp_ctors/Makefile.ci rename to tests/sys/cpp_ctors/Makefile.ci diff --git a/tests/cpp_ctors/README.md b/tests/sys/cpp_ctors/README.md similarity index 100% rename from tests/cpp_ctors/README.md rename to tests/sys/cpp_ctors/README.md diff --git a/tests/cpp_ctors/app.config.test b/tests/sys/cpp_ctors/app.config.test similarity index 100% rename from tests/cpp_ctors/app.config.test rename to tests/sys/cpp_ctors/app.config.test diff --git a/tests/cpp_ctors/main.c b/tests/sys/cpp_ctors/main.c similarity index 100% rename from tests/cpp_ctors/main.c rename to tests/sys/cpp_ctors/main.c diff --git a/tests/cpp_ctors/tests-cpp_ctors-class.cpp b/tests/sys/cpp_ctors/tests-cpp_ctors-class.cpp similarity index 100% rename from tests/cpp_ctors/tests-cpp_ctors-class.cpp rename to tests/sys/cpp_ctors/tests-cpp_ctors-class.cpp diff --git a/tests/cpp_ctors/tests-cpp_ctors.cpp b/tests/sys/cpp_ctors/tests-cpp_ctors.cpp similarity index 100% rename from tests/cpp_ctors/tests-cpp_ctors.cpp rename to tests/sys/cpp_ctors/tests-cpp_ctors.cpp diff --git a/tests/cpp_ctors/tests-cpp_ctors.h b/tests/sys/cpp_ctors/tests-cpp_ctors.h similarity index 100% rename from tests/cpp_ctors/tests-cpp_ctors.h rename to tests/sys/cpp_ctors/tests-cpp_ctors.h diff --git a/tests/cpp_ctors/tests/01-run.py b/tests/sys/cpp_ctors/tests/01-run.py similarity index 100% rename from tests/cpp_ctors/tests/01-run.py rename to tests/sys/cpp_ctors/tests/01-run.py diff --git a/tests/sys_crypto/Makefile b/tests/sys/crypto/Makefile similarity index 83% rename from tests/sys_crypto/Makefile rename to tests/sys/crypto/Makefile index f9438f3de8..606088f213 100644 --- a/tests/sys_crypto/Makefile +++ b/tests/sys/crypto/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += embunit diff --git a/tests/sys_crypto/Makefile.ci b/tests/sys/crypto/Makefile.ci similarity index 100% rename from tests/sys_crypto/Makefile.ci rename to tests/sys/crypto/Makefile.ci diff --git a/tests/sys_crypto/README.md b/tests/sys/crypto/README.md similarity index 100% rename from tests/sys_crypto/README.md rename to tests/sys/crypto/README.md diff --git a/tests/sys_crypto/app.config.test b/tests/sys/crypto/app.config.test similarity index 100% rename from tests/sys_crypto/app.config.test rename to tests/sys/crypto/app.config.test diff --git a/tests/sys_crypto/main.c b/tests/sys/crypto/main.c similarity index 100% rename from tests/sys_crypto/main.c rename to tests/sys/crypto/main.c diff --git a/tests/sys_crypto/tests-crypto-aes.c b/tests/sys/crypto/tests-crypto-aes.c similarity index 100% rename from tests/sys_crypto/tests-crypto-aes.c rename to tests/sys/crypto/tests-crypto-aes.c diff --git a/tests/sys_crypto/tests-crypto-chacha.c b/tests/sys/crypto/tests-crypto-chacha.c similarity index 100% rename from tests/sys_crypto/tests-crypto-chacha.c rename to tests/sys/crypto/tests-crypto-chacha.c diff --git a/tests/sys_crypto/tests-crypto-chacha20poly1305.c b/tests/sys/crypto/tests-crypto-chacha20poly1305.c similarity index 100% rename from tests/sys_crypto/tests-crypto-chacha20poly1305.c rename to tests/sys/crypto/tests-crypto-chacha20poly1305.c diff --git a/tests/sys_crypto/tests-crypto-cipher.c b/tests/sys/crypto/tests-crypto-cipher.c similarity index 100% rename from tests/sys_crypto/tests-crypto-cipher.c rename to tests/sys/crypto/tests-crypto-cipher.c diff --git a/tests/sys_crypto/tests-crypto-helper.c b/tests/sys/crypto/tests-crypto-helper.c similarity index 100% rename from tests/sys_crypto/tests-crypto-helper.c rename to tests/sys/crypto/tests-crypto-helper.c diff --git a/tests/sys_crypto/tests-crypto-modes-cbc.c b/tests/sys/crypto/tests-crypto-modes-cbc.c similarity index 100% rename from tests/sys_crypto/tests-crypto-modes-cbc.c rename to tests/sys/crypto/tests-crypto-modes-cbc.c diff --git a/tests/sys_crypto/tests-crypto-modes-ccm.c b/tests/sys/crypto/tests-crypto-modes-ccm.c similarity index 100% rename from tests/sys_crypto/tests-crypto-modes-ccm.c rename to tests/sys/crypto/tests-crypto-modes-ccm.c diff --git a/tests/sys_crypto/tests-crypto-modes-ctr.c b/tests/sys/crypto/tests-crypto-modes-ctr.c similarity index 100% rename from tests/sys_crypto/tests-crypto-modes-ctr.c rename to tests/sys/crypto/tests-crypto-modes-ctr.c diff --git a/tests/sys_crypto/tests-crypto-modes-ecb.c b/tests/sys/crypto/tests-crypto-modes-ecb.c similarity index 100% rename from tests/sys_crypto/tests-crypto-modes-ecb.c rename to tests/sys/crypto/tests-crypto-modes-ecb.c diff --git a/tests/sys_crypto/tests-crypto-modes-ocb.c b/tests/sys/crypto/tests-crypto-modes-ocb.c similarity index 100% rename from tests/sys_crypto/tests-crypto-modes-ocb.c rename to tests/sys/crypto/tests-crypto-modes-ocb.c diff --git a/tests/sys_crypto/tests-crypto-poly1305.c b/tests/sys/crypto/tests-crypto-poly1305.c similarity index 100% rename from tests/sys_crypto/tests-crypto-poly1305.c rename to tests/sys/crypto/tests-crypto-poly1305.c diff --git a/tests/sys_crypto/tests-crypto.h b/tests/sys/crypto/tests-crypto.h similarity index 100% rename from tests/sys_crypto/tests-crypto.h rename to tests/sys/crypto/tests-crypto.h diff --git a/tests/devfs/tests/01-run.py b/tests/sys/crypto/tests/01-run.py similarity index 100% rename from tests/devfs/tests/01-run.py rename to tests/sys/crypto/tests/01-run.py diff --git a/tests/sys_crypto_aes_ccm/Makefile b/tests/sys/crypto_aes_ccm/Makefile similarity index 83% rename from tests/sys_crypto_aes_ccm/Makefile rename to tests/sys/crypto_aes_ccm/Makefile index f9438f3de8..606088f213 100644 --- a/tests/sys_crypto_aes_ccm/Makefile +++ b/tests/sys/crypto_aes_ccm/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += embunit diff --git a/tests/sys_crypto_aes_ccm/Makefile.ci b/tests/sys/crypto_aes_ccm/Makefile.ci similarity index 100% rename from tests/sys_crypto_aes_ccm/Makefile.ci rename to tests/sys/crypto_aes_ccm/Makefile.ci diff --git a/tests/sys_crypto_aes_ccm/README.md b/tests/sys/crypto_aes_ccm/README.md similarity index 100% rename from tests/sys_crypto_aes_ccm/README.md rename to tests/sys/crypto_aes_ccm/README.md diff --git a/tests/sys_crypto_aes_ccm/app.config.test b/tests/sys/crypto_aes_ccm/app.config.test similarity index 100% rename from tests/sys_crypto_aes_ccm/app.config.test rename to tests/sys/crypto_aes_ccm/app.config.test diff --git a/tests/sys_crypto_aes_ccm/main.c b/tests/sys/crypto_aes_ccm/main.c similarity index 100% rename from tests/sys_crypto_aes_ccm/main.c rename to tests/sys/crypto_aes_ccm/main.c diff --git a/tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-128.c b/tests/sys/crypto_aes_ccm/tests-crypto-modes-ccm-128.c similarity index 100% rename from tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-128.c rename to tests/sys/crypto_aes_ccm/tests-crypto-modes-ccm-128.c diff --git a/tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-192.c b/tests/sys/crypto_aes_ccm/tests-crypto-modes-ccm-192.c similarity index 100% rename from tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-192.c rename to tests/sys/crypto_aes_ccm/tests-crypto-modes-ccm-192.c diff --git a/tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-256.c b/tests/sys/crypto_aes_ccm/tests-crypto-modes-ccm-256.c similarity index 100% rename from tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-256.c rename to tests/sys/crypto_aes_ccm/tests-crypto-modes-ccm-256.c diff --git a/tests/sys_crypto_aes_ccm/tests-crypto.h b/tests/sys/crypto_aes_ccm/tests-crypto.h similarity index 100% rename from tests/sys_crypto_aes_ccm/tests-crypto.h rename to tests/sys/crypto_aes_ccm/tests-crypto.h diff --git a/tests/sys_crypto/tests/01-run.py b/tests/sys/crypto_aes_ccm/tests/01-run.py similarity index 100% rename from tests/sys_crypto/tests/01-run.py rename to tests/sys/crypto_aes_ccm/tests/01-run.py diff --git a/tests/devfs/Makefile b/tests/sys/devfs/Makefile similarity index 81% rename from tests/devfs/Makefile rename to tests/sys/devfs/Makefile index 65ebec597a..ef70ad9ab4 100644 --- a/tests/devfs/Makefile +++ b/tests/sys/devfs/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += embunit diff --git a/tests/devfs/Makefile.ci b/tests/sys/devfs/Makefile.ci similarity index 100% rename from tests/devfs/Makefile.ci rename to tests/sys/devfs/Makefile.ci diff --git a/tests/devfs/main.c b/tests/sys/devfs/main.c similarity index 100% rename from tests/devfs/main.c rename to tests/sys/devfs/main.c diff --git a/tests/sys_crypto_aes_ccm/tests/01-run.py b/tests/sys/devfs/tests/01-run.py similarity index 100% rename from tests/sys_crypto_aes_ccm/tests/01-run.py rename to tests/sys/devfs/tests/01-run.py diff --git a/tests/eepreg/Makefile b/tests/sys/eepreg/Makefile similarity index 64% rename from tests/eepreg/Makefile rename to tests/sys/eepreg/Makefile index df6201f125..619f0dae10 100644 --- a/tests/eepreg/Makefile +++ b/tests/sys/eepreg/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += eepreg diff --git a/tests/eepreg/README.md b/tests/sys/eepreg/README.md similarity index 100% rename from tests/eepreg/README.md rename to tests/sys/eepreg/README.md diff --git a/tests/eepreg/app.config.test b/tests/sys/eepreg/app.config.test similarity index 100% rename from tests/eepreg/app.config.test rename to tests/sys/eepreg/app.config.test diff --git a/tests/eepreg/main.c b/tests/sys/eepreg/main.c similarity index 100% rename from tests/eepreg/main.c rename to tests/sys/eepreg/main.c diff --git a/tests/eepreg/tests/01-run.py b/tests/sys/eepreg/tests/01-run.py similarity index 100% rename from tests/eepreg/tests/01-run.py rename to tests/sys/eepreg/tests/01-run.py diff --git a/tests/event_periodic_callback/Makefile b/tests/sys/event_periodic_callback/Makefile similarity index 79% rename from tests/event_periodic_callback/Makefile rename to tests/sys/event_periodic_callback/Makefile index 2d3e6c14d1..84aa71f4c7 100644 --- a/tests/event_periodic_callback/Makefile +++ b/tests/sys/event_periodic_callback/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += event_periodic_callback USEMODULE += event_thread diff --git a/tests/event_source/Makefile.ci b/tests/sys/event_periodic_callback/Makefile.ci similarity index 100% rename from tests/event_source/Makefile.ci rename to tests/sys/event_periodic_callback/Makefile.ci diff --git a/tests/event_periodic_callback/main.c b/tests/sys/event_periodic_callback/main.c similarity index 100% rename from tests/event_periodic_callback/main.c rename to tests/sys/event_periodic_callback/main.c diff --git a/tests/event_periodic_callback/tests/01-run.py b/tests/sys/event_periodic_callback/tests/01-run.py similarity index 100% rename from tests/event_periodic_callback/tests/01-run.py rename to tests/sys/event_periodic_callback/tests/01-run.py diff --git a/tests/event_source/Makefile b/tests/sys/event_source/Makefile similarity index 73% rename from tests/event_source/Makefile rename to tests/sys/event_source/Makefile index 7b235ab750..59d9abfa81 100644 --- a/tests/event_source/Makefile +++ b/tests/sys/event_source/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += event_callback USEMODULE += event_thread diff --git a/tests/event_thread_shared/Makefile.ci b/tests/sys/event_source/Makefile.ci similarity index 100% rename from tests/event_thread_shared/Makefile.ci rename to tests/sys/event_source/Makefile.ci diff --git a/tests/event_source/main.c b/tests/sys/event_source/main.c similarity index 100% rename from tests/event_source/main.c rename to tests/sys/event_source/main.c diff --git a/tests/event_source/tests/01-run.py b/tests/sys/event_source/tests/01-run.py similarity index 100% rename from tests/event_source/tests/01-run.py rename to tests/sys/event_source/tests/01-run.py diff --git a/tests/event_thread_shared/Makefile b/tests/sys/event_thread_shared/Makefile similarity index 66% rename from tests/event_thread_shared/Makefile rename to tests/sys/event_thread_shared/Makefile index 52eb82bb30..39c389aa57 100644 --- a/tests/event_thread_shared/Makefile +++ b/tests/sys/event_thread_shared/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += event_thread diff --git a/tests/event_wait_timeout/Makefile.ci b/tests/sys/event_thread_shared/Makefile.ci similarity index 100% rename from tests/event_wait_timeout/Makefile.ci rename to tests/sys/event_thread_shared/Makefile.ci diff --git a/tests/event_thread_shared/main.c b/tests/sys/event_thread_shared/main.c similarity index 100% rename from tests/event_thread_shared/main.c rename to tests/sys/event_thread_shared/main.c diff --git a/tests/event_thread_shared/tests/01-run.py b/tests/sys/event_thread_shared/tests/01-run.py similarity index 100% rename from tests/event_thread_shared/tests/01-run.py rename to tests/sys/event_thread_shared/tests/01-run.py diff --git a/tests/event_threads/Makefile b/tests/sys/event_threads/Makefile similarity index 73% rename from tests/event_threads/Makefile rename to tests/sys/event_threads/Makefile index cb838a7a48..1df8818743 100644 --- a/tests/event_threads/Makefile +++ b/tests/sys/event_threads/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += event_thread_highest event_thread_medium diff --git a/tests/event_threads/Makefile.ci b/tests/sys/event_threads/Makefile.ci similarity index 100% rename from tests/event_threads/Makefile.ci rename to tests/sys/event_threads/Makefile.ci diff --git a/tests/event_threads/main.c b/tests/sys/event_threads/main.c similarity index 100% rename from tests/event_threads/main.c rename to tests/sys/event_threads/main.c diff --git a/tests/event_threads/tests/01-run.py b/tests/sys/event_threads/tests/01-run.py similarity index 100% rename from tests/event_threads/tests/01-run.py rename to tests/sys/event_threads/tests/01-run.py diff --git a/tests/event_wait_timeout/Makefile b/tests/sys/event_wait_timeout/Makefile similarity index 90% rename from tests/event_wait_timeout/Makefile rename to tests/sys/event_wait_timeout/Makefile index f97b1f4598..6e7eada057 100644 --- a/tests/event_wait_timeout/Makefile +++ b/tests/sys/event_wait_timeout/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common FORCE_ASSERTS = 1 USEMODULE += event diff --git a/tests/event_wait_timeout_ztimer/Makefile.ci b/tests/sys/event_wait_timeout/Makefile.ci similarity index 100% rename from tests/event_wait_timeout_ztimer/Makefile.ci rename to tests/sys/event_wait_timeout/Makefile.ci diff --git a/tests/event_wait_timeout/main.c b/tests/sys/event_wait_timeout/main.c similarity index 100% rename from tests/event_wait_timeout/main.c rename to tests/sys/event_wait_timeout/main.c diff --git a/tests/event_wait_timeout/tests/01-run.py b/tests/sys/event_wait_timeout/tests/01-run.py similarity index 100% rename from tests/event_wait_timeout/tests/01-run.py rename to tests/sys/event_wait_timeout/tests/01-run.py diff --git a/tests/event_wait_timeout_ztimer/Makefile b/tests/sys/event_wait_timeout_ztimer/Makefile similarity index 92% rename from tests/event_wait_timeout_ztimer/Makefile rename to tests/sys/event_wait_timeout_ztimer/Makefile index 11a8eccecf..31b8749119 100644 --- a/tests/event_wait_timeout_ztimer/Makefile +++ b/tests/sys/event_wait_timeout_ztimer/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common FORCE_ASSERTS = 1 USEMODULE += event diff --git a/tests/evtimer_mbox/Makefile.ci b/tests/sys/event_wait_timeout_ztimer/Makefile.ci similarity index 100% rename from tests/evtimer_mbox/Makefile.ci rename to tests/sys/event_wait_timeout_ztimer/Makefile.ci diff --git a/tests/event_wait_timeout_ztimer/main.c b/tests/sys/event_wait_timeout_ztimer/main.c similarity index 100% rename from tests/event_wait_timeout_ztimer/main.c rename to tests/sys/event_wait_timeout_ztimer/main.c diff --git a/tests/event_wait_timeout_ztimer/tests/01-run.py b/tests/sys/event_wait_timeout_ztimer/tests/01-run.py similarity index 100% rename from tests/event_wait_timeout_ztimer/tests/01-run.py rename to tests/sys/event_wait_timeout_ztimer/tests/01-run.py diff --git a/tests/event_ztimer/Makefile b/tests/sys/event_ztimer/Makefile similarity index 85% rename from tests/event_ztimer/Makefile rename to tests/sys/event_ztimer/Makefile index 23445037cf..93f1c088d9 100644 --- a/tests/event_ztimer/Makefile +++ b/tests/sys/event_ztimer/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common FORCE_ASSERTS = 1 USEMODULE += event_thread diff --git a/tests/event_ztimer/Makefile.ci b/tests/sys/event_ztimer/Makefile.ci similarity index 100% rename from tests/event_ztimer/Makefile.ci rename to tests/sys/event_ztimer/Makefile.ci diff --git a/tests/event_ztimer/main.c b/tests/sys/event_ztimer/main.c similarity index 100% rename from tests/event_ztimer/main.c rename to tests/sys/event_ztimer/main.c diff --git a/tests/event_ztimer/tests/01-run.py b/tests/sys/event_ztimer/tests/01-run.py similarity index 100% rename from tests/event_ztimer/tests/01-run.py rename to tests/sys/event_ztimer/tests/01-run.py diff --git a/tests/events/Makefile b/tests/sys/events/Makefile similarity index 90% rename from tests/events/Makefile rename to tests/sys/events/Makefile index 84edabdb59..fb47c2b6c9 100644 --- a/tests/events/Makefile +++ b/tests/sys/events/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common FORCE_ASSERTS = 1 USEMODULE += event_callback diff --git a/tests/events/Makefile.board.dep b/tests/sys/events/Makefile.board.dep similarity index 100% rename from tests/events/Makefile.board.dep rename to tests/sys/events/Makefile.board.dep diff --git a/tests/events/Makefile.ci b/tests/sys/events/Makefile.ci similarity index 100% rename from tests/events/Makefile.ci rename to tests/sys/events/Makefile.ci diff --git a/tests/events/app.config.test b/tests/sys/events/app.config.test similarity index 100% rename from tests/events/app.config.test rename to tests/sys/events/app.config.test diff --git a/tests/events/main.c b/tests/sys/events/main.c similarity index 100% rename from tests/events/main.c rename to tests/sys/events/main.c diff --git a/tests/events/tests/01-run.py b/tests/sys/events/tests/01-run.py similarity index 100% rename from tests/events/tests/01-run.py rename to tests/sys/events/tests/01-run.py diff --git a/tests/evtimer_mbox/Makefile b/tests/sys/evtimer_mbox/Makefile similarity index 79% rename from tests/evtimer_mbox/Makefile rename to tests/sys/evtimer_mbox/Makefile index a67012ed9b..f61d0312c9 100644 --- a/tests/evtimer_mbox/Makefile +++ b/tests/sys/evtimer_mbox/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += evtimer_mbox diff --git a/tests/memarray/Makefile.ci b/tests/sys/evtimer_mbox/Makefile.ci similarity index 100% rename from tests/memarray/Makefile.ci rename to tests/sys/evtimer_mbox/Makefile.ci diff --git a/tests/evtimer_mbox/main.c b/tests/sys/evtimer_mbox/main.c similarity index 100% rename from tests/evtimer_mbox/main.c rename to tests/sys/evtimer_mbox/main.c diff --git a/tests/evtimer_mbox/tests/01-run.py b/tests/sys/evtimer_mbox/tests/01-run.py similarity index 100% rename from tests/evtimer_mbox/tests/01-run.py rename to tests/sys/evtimer_mbox/tests/01-run.py diff --git a/tests/evtimer_msg/Makefile b/tests/sys/evtimer_msg/Makefile similarity index 87% rename from tests/evtimer_msg/Makefile rename to tests/sys/evtimer_msg/Makefile index 27a3dbc657..aacc3125a5 100644 --- a/tests/evtimer_msg/Makefile +++ b/tests/sys/evtimer_msg/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += evtimer USEMODULE += xtimer diff --git a/tests/evtimer_msg/Makefile.ci b/tests/sys/evtimer_msg/Makefile.ci similarity index 100% rename from tests/evtimer_msg/Makefile.ci rename to tests/sys/evtimer_msg/Makefile.ci diff --git a/tests/evtimer_msg/main.c b/tests/sys/evtimer_msg/main.c similarity index 100% rename from tests/evtimer_msg/main.c rename to tests/sys/evtimer_msg/main.c diff --git a/tests/evtimer_msg/tests/01-run.py b/tests/sys/evtimer_msg/tests/01-run.py similarity index 87% rename from tests/evtimer_msg/tests/01-run.py rename to tests/sys/evtimer_msg/tests/01-run.py index b45bd67d3d..9746ab6207 100755 --- a/tests/evtimer_msg/tests/01-run.py +++ b/tests/sys/evtimer_msg/tests/01-run.py @@ -6,7 +6,6 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. -from __future__ import print_function import sys from testrunner import run @@ -23,7 +22,7 @@ def testfunc(child): # check if output is correct expected = int(child.match.group(2)) actual = int(child.match.group(1)) - assert(actual in range(expected - ACCEPTED_ERROR, expected + ACCEPTED_ERROR + 1)) + assert actual in range(expected - ACCEPTED_ERROR, expected + ACCEPTED_ERROR + 1) print(".", end="", flush=True) print("") print("All tests successful") diff --git a/tests/evtimer_underflow/Makefile b/tests/sys/evtimer_underflow/Makefile similarity index 80% rename from tests/evtimer_underflow/Makefile rename to tests/sys/evtimer_underflow/Makefile index 981bc65620..485222d0a7 100644 --- a/tests/evtimer_underflow/Makefile +++ b/tests/sys/evtimer_underflow/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += evtimer USEMODULE += xtimer diff --git a/tests/evtimer_underflow/Makefile.ci b/tests/sys/evtimer_underflow/Makefile.ci similarity index 100% rename from tests/evtimer_underflow/Makefile.ci rename to tests/sys/evtimer_underflow/Makefile.ci diff --git a/tests/evtimer_underflow/main.c b/tests/sys/evtimer_underflow/main.c similarity index 100% rename from tests/evtimer_underflow/main.c rename to tests/sys/evtimer_underflow/main.c diff --git a/tests/evtimer_underflow/tests/01-run.py b/tests/sys/evtimer_underflow/tests/01-run.py similarity index 94% rename from tests/evtimer_underflow/tests/01-run.py rename to tests/sys/evtimer_underflow/tests/01-run.py index a20360e230..7465faa503 100755 --- a/tests/evtimer_underflow/tests/01-run.py +++ b/tests/sys/evtimer_underflow/tests/01-run.py @@ -6,7 +6,6 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. -from __future__ import print_function import sys from testrunner import run diff --git a/tests/sys_fido2_ctap/Makefile b/tests/sys/fido2_ctap/Makefile similarity index 97% rename from tests/sys_fido2_ctap/Makefile rename to tests/sys/fido2_ctap/Makefile index fc52c6d673..225436aa1a 100644 --- a/tests/sys_fido2_ctap/Makefile +++ b/tests/sys/fido2_ctap/Makefile @@ -1,7 +1,7 @@ BOARD ?= nrf52840dk #BOARD ?= nrf52840dongle -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += fido2_ctap_transport_hid USEMODULE += usbus diff --git a/tests/sys_fido2_ctap/Makefile.ci b/tests/sys/fido2_ctap/Makefile.ci similarity index 100% rename from tests/sys_fido2_ctap/Makefile.ci rename to tests/sys/fido2_ctap/Makefile.ci diff --git a/tests/sys_fido2_ctap/README.md b/tests/sys/fido2_ctap/README.md similarity index 100% rename from tests/sys_fido2_ctap/README.md rename to tests/sys/fido2_ctap/README.md diff --git a/tests/sys_fido2_ctap/app.config.test b/tests/sys/fido2_ctap/app.config.test similarity index 100% rename from tests/sys_fido2_ctap/app.config.test rename to tests/sys/fido2_ctap/app.config.test diff --git a/tests/sys_fido2_ctap/main.c b/tests/sys/fido2_ctap/main.c similarity index 96% rename from tests/sys_fido2_ctap/main.c rename to tests/sys/fido2_ctap/main.c index 31ffbc44ef..bda766ca1e 100644 --- a/tests/sys_fido2_ctap/main.c +++ b/tests/sys/fido2_ctap/main.c @@ -20,7 +20,7 @@ #include #include -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #include "xtimer.h" diff --git a/tests/sys_fido2_ctap/reset.py b/tests/sys/fido2_ctap/reset.py similarity index 100% rename from tests/sys_fido2_ctap/reset.py rename to tests/sys/fido2_ctap/reset.py diff --git a/tests/fmt_print/Makefile b/tests/sys/fmt_print/Makefile similarity index 62% rename from tests/fmt_print/Makefile rename to tests/sys/fmt_print/Makefile index 089fd8473e..2c90bdedb4 100644 --- a/tests/fmt_print/Makefile +++ b/tests/sys/fmt_print/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += fmt diff --git a/tests/fmt_print/main.c b/tests/sys/fmt_print/main.c similarity index 100% rename from tests/fmt_print/main.c rename to tests/sys/fmt_print/main.c diff --git a/tests/fmt_print/tests/01-run.py b/tests/sys/fmt_print/tests/01-run.py similarity index 100% rename from tests/fmt_print/tests/01-run.py rename to tests/sys/fmt_print/tests/01-run.py diff --git a/tests/frac-config/Makefile b/tests/sys/frac-config/Makefile similarity index 75% rename from tests/frac-config/Makefile rename to tests/sys/frac-config/Makefile index 1490983b30..5da711d27a 100644 --- a/tests/frac-config/Makefile +++ b/tests/sys/frac-config/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common BOARD ?= native diff --git a/tests/frac-config/README.md b/tests/sys/frac-config/README.md similarity index 100% rename from tests/frac-config/README.md rename to tests/sys/frac-config/README.md diff --git a/tests/frac-config/main.c b/tests/sys/frac-config/main.c similarity index 100% rename from tests/frac-config/main.c rename to tests/sys/frac-config/main.c diff --git a/tests/libc_newlib/Makefile b/tests/sys/libc_newlib/Makefile similarity index 97% rename from tests/libc_newlib/Makefile rename to tests/sys/libc_newlib/Makefile index f21f0761d6..99948d91b9 100644 --- a/tests/libc_newlib/Makefile +++ b/tests/sys/libc_newlib/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += embunit diff --git a/tests/libc_newlib/README.md b/tests/sys/libc_newlib/README.md similarity index 100% rename from tests/libc_newlib/README.md rename to tests/sys/libc_newlib/README.md diff --git a/tests/libc_newlib/main.c b/tests/sys/libc_newlib/main.c similarity index 100% rename from tests/libc_newlib/main.c rename to tests/sys/libc_newlib/main.c diff --git a/tests/libc_newlib/tests/01-run.py b/tests/sys/libc_newlib/tests/01-run.py similarity index 100% rename from tests/libc_newlib/tests/01-run.py rename to tests/sys/libc_newlib/tests/01-run.py diff --git a/tests/log_color/Makefile b/tests/sys/log_color/Makefile similarity index 84% rename from tests/log_color/Makefile rename to tests/sys/log_color/Makefile index dfd524bb30..bcd09f498c 100644 --- a/tests/log_color/Makefile +++ b/tests/sys/log_color/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += log_color diff --git a/tests/log_color/app.config.test b/tests/sys/log_color/app.config.test similarity index 100% rename from tests/log_color/app.config.test rename to tests/sys/log_color/app.config.test diff --git a/tests/log_color/main.c b/tests/sys/log_color/main.c similarity index 100% rename from tests/log_color/main.c rename to tests/sys/log_color/main.c diff --git a/tests/log_color/tests/01-run.py b/tests/sys/log_color/tests/01-run.py similarity index 100% rename from tests/log_color/tests/01-run.py rename to tests/sys/log_color/tests/01-run.py diff --git a/tests/log_printfnoformat/Makefile b/tests/sys/log_printfnoformat/Makefile similarity index 78% rename from tests/log_printfnoformat/Makefile rename to tests/sys/log_printfnoformat/Makefile index 5f76eaec30..5cb5cc0bdd 100644 --- a/tests/log_printfnoformat/Makefile +++ b/tests/sys/log_printfnoformat/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += log_printfnoformat diff --git a/tests/log_printfnoformat/app.config.test b/tests/sys/log_printfnoformat/app.config.test similarity index 100% rename from tests/log_printfnoformat/app.config.test rename to tests/sys/log_printfnoformat/app.config.test diff --git a/tests/log_printfnoformat/main.c b/tests/sys/log_printfnoformat/main.c similarity index 100% rename from tests/log_printfnoformat/main.c rename to tests/sys/log_printfnoformat/main.c diff --git a/tests/log_printfnoformat/tests/01-run.py b/tests/sys/log_printfnoformat/tests/01-run.py similarity index 100% rename from tests/log_printfnoformat/tests/01-run.py rename to tests/sys/log_printfnoformat/tests/01-run.py diff --git a/tests/sys_ptrtag/Makefile b/tests/sys/malloc/Makefile similarity index 53% rename from tests/sys_ptrtag/Makefile rename to tests/sys/malloc/Makefile index 24bb481657..474ad5124a 100644 --- a/tests/sys_ptrtag/Makefile +++ b/tests/sys/malloc/Makefile @@ -1,3 +1,3 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common include $(RIOTBASE)/Makefile.include diff --git a/tests/malloc/main.c b/tests/sys/malloc/main.c similarity index 100% rename from tests/malloc/main.c rename to tests/sys/malloc/main.c diff --git a/tests/malloc/tests/01-run.py b/tests/sys/malloc/tests/01-run.py similarity index 100% rename from tests/malloc/tests/01-run.py rename to tests/sys/malloc/tests/01-run.py diff --git a/tests/malloc_thread_safety/Makefile b/tests/sys/malloc_thread_safety/Makefile similarity index 88% rename from tests/malloc_thread_safety/Makefile rename to tests/sys/malloc_thread_safety/Makefile index 7a6fa50d84..da30a67374 100644 --- a/tests/malloc_thread_safety/Makefile +++ b/tests/sys/malloc_thread_safety/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common PICOLIBC ?= 0 ifneq (0,$(PICOLIBC)) diff --git a/tests/malloc_thread_safety/Makefile.ci b/tests/sys/malloc_thread_safety/Makefile.ci similarity index 100% rename from tests/malloc_thread_safety/Makefile.ci rename to tests/sys/malloc_thread_safety/Makefile.ci diff --git a/tests/malloc_thread_safety/main.c b/tests/sys/malloc_thread_safety/main.c similarity index 100% rename from tests/malloc_thread_safety/main.c rename to tests/sys/malloc_thread_safety/main.c diff --git a/tests/malloc_thread_safety/tests/01-run.py b/tests/sys/malloc_thread_safety/tests/01-run.py similarity index 100% rename from tests/malloc_thread_safety/tests/01-run.py rename to tests/sys/malloc_thread_safety/tests/01-run.py diff --git a/tests/memarray/Makefile b/tests/sys/memarray/Makefile similarity index 70% rename from tests/memarray/Makefile rename to tests/sys/memarray/Makefile index cf65c9d8ef..96c83fb202 100644 --- a/tests/memarray/Makefile +++ b/tests/sys/memarray/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += memarray USEMODULE += ps diff --git a/tests/pbkdf2/Makefile.ci b/tests/sys/memarray/Makefile.ci similarity index 100% rename from tests/pbkdf2/Makefile.ci rename to tests/sys/memarray/Makefile.ci diff --git a/tests/memarray/README.md b/tests/sys/memarray/README.md similarity index 100% rename from tests/memarray/README.md rename to tests/sys/memarray/README.md diff --git a/tests/memarray/main.c b/tests/sys/memarray/main.c similarity index 100% rename from tests/memarray/main.c rename to tests/sys/memarray/main.c diff --git a/tests/memarray/tests/01-run.py b/tests/sys/memarray/tests/01-run.py similarity index 100% rename from tests/memarray/tests/01-run.py rename to tests/sys/memarray/tests/01-run.py diff --git a/tests/od/Makefile b/tests/sys/od/Makefile similarity index 70% rename from tests/od/Makefile rename to tests/sys/od/Makefile index 54315c8750..513caae15c 100644 --- a/tests/od/Makefile +++ b/tests/sys/od/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += od USEMODULE += od_string diff --git a/tests/od/main.c b/tests/sys/od/main.c similarity index 100% rename from tests/od/main.c rename to tests/sys/od/main.c diff --git a/tests/od/tests/01-run.py b/tests/sys/od/tests/01-run.py similarity index 100% rename from tests/od/tests/01-run.py rename to tests/sys/od/tests/01-run.py diff --git a/tests/pbkdf2/Makefile b/tests/sys/pbkdf2/Makefile similarity index 69% rename from tests/pbkdf2/Makefile rename to tests/sys/pbkdf2/Makefile index f8d8f05e8c..e66bfe6586 100644 --- a/tests/pbkdf2/Makefile +++ b/tests/sys/pbkdf2/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += hashes USEMODULE += fmt diff --git a/tests/phydat_dump/Makefile.ci b/tests/sys/pbkdf2/Makefile.ci similarity index 100% rename from tests/phydat_dump/Makefile.ci rename to tests/sys/pbkdf2/Makefile.ci diff --git a/tests/pbkdf2/README b/tests/sys/pbkdf2/README similarity index 100% rename from tests/pbkdf2/README rename to tests/sys/pbkdf2/README diff --git a/tests/pbkdf2/main.c b/tests/sys/pbkdf2/main.c similarity index 100% rename from tests/pbkdf2/main.c rename to tests/sys/pbkdf2/main.c diff --git a/tests/pbkdf2/tests/01-run.py b/tests/sys/pbkdf2/tests/01-run.py similarity index 100% rename from tests/pbkdf2/tests/01-run.py rename to tests/sys/pbkdf2/tests/01-run.py diff --git a/tests/phydat_dump/Makefile b/tests/sys/phydat_dump/Makefile similarity index 64% rename from tests/phydat_dump/Makefile rename to tests/sys/phydat_dump/Makefile index 1c1aeac913..dc5e5f5a9b 100644 --- a/tests/phydat_dump/Makefile +++ b/tests/sys/phydat_dump/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += phydat diff --git a/tests/posix_sleep/Makefile.ci b/tests/sys/phydat_dump/Makefile.ci similarity index 100% rename from tests/posix_sleep/Makefile.ci rename to tests/sys/phydat_dump/Makefile.ci diff --git a/tests/phydat_dump/main.c b/tests/sys/phydat_dump/main.c similarity index 100% rename from tests/phydat_dump/main.c rename to tests/sys/phydat_dump/main.c diff --git a/tests/phydat_dump/tests/01-run.py b/tests/sys/phydat_dump/tests/01-run.py similarity index 100% rename from tests/phydat_dump/tests/01-run.py rename to tests/sys/phydat_dump/tests/01-run.py diff --git a/tests/phydat_unix/Makefile b/tests/sys/phydat_unix/Makefile similarity index 70% rename from tests/phydat_unix/Makefile rename to tests/sys/phydat_unix/Makefile index a9b130fdfc..7feca1fea8 100644 --- a/tests/phydat_unix/Makefile +++ b/tests/sys/phydat_unix/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += phydat USEMODULE += embunit diff --git a/tests/phydat_unix/Makefile.ci b/tests/sys/phydat_unix/Makefile.ci similarity index 100% rename from tests/phydat_unix/Makefile.ci rename to tests/sys/phydat_unix/Makefile.ci diff --git a/tests/phydat_unix/app.config.test b/tests/sys/phydat_unix/app.config.test similarity index 100% rename from tests/phydat_unix/app.config.test rename to tests/sys/phydat_unix/app.config.test diff --git a/tests/phydat_unix/main.c b/tests/sys/phydat_unix/main.c similarity index 100% rename from tests/phydat_unix/main.c rename to tests/sys/phydat_unix/main.c diff --git a/tests/phydat_unix/tests/01-run.py b/tests/sys/phydat_unix/tests/01-run.py similarity index 100% rename from tests/phydat_unix/tests/01-run.py rename to tests/sys/phydat_unix/tests/01-run.py diff --git a/tests/pipe/Makefile b/tests/sys/pipe/Makefile similarity index 79% rename from tests/pipe/Makefile rename to tests/sys/pipe/Makefile index ceddb59c22..ef92f2fe30 100644 --- a/tests/pipe/Makefile +++ b/tests/sys/pipe/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common #malloc.h not found BOARD_BLACKLIST := arduino-leonardo mega-xplained diff --git a/tests/pipe/Makefile.ci b/tests/sys/pipe/Makefile.ci similarity index 100% rename from tests/pipe/Makefile.ci rename to tests/sys/pipe/Makefile.ci diff --git a/tests/pipe/main.c b/tests/sys/pipe/main.c similarity index 100% rename from tests/pipe/main.c rename to tests/sys/pipe/main.c diff --git a/tests/pipe/tests/01-run.py b/tests/sys/pipe/tests/01-run.py similarity index 100% rename from tests/pipe/tests/01-run.py rename to tests/sys/pipe/tests/01-run.py diff --git a/tests/posix_semaphore/Makefile b/tests/sys/posix_semaphore/Makefile similarity index 84% rename from tests/posix_semaphore/Makefile rename to tests/sys/posix_semaphore/Makefile index b8d80102a5..6bf4619e6a 100644 --- a/tests/posix_semaphore/Makefile +++ b/tests/sys/posix_semaphore/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += fmt USEMODULE += posix_semaphore diff --git a/tests/posix_semaphore/Makefile.ci b/tests/sys/posix_semaphore/Makefile.ci similarity index 100% rename from tests/posix_semaphore/Makefile.ci rename to tests/sys/posix_semaphore/Makefile.ci diff --git a/tests/posix_semaphore/main.c b/tests/sys/posix_semaphore/main.c similarity index 100% rename from tests/posix_semaphore/main.c rename to tests/sys/posix_semaphore/main.c diff --git a/tests/posix_semaphore/tests/01-run.py b/tests/sys/posix_semaphore/tests/01-run.py similarity index 100% rename from tests/posix_semaphore/tests/01-run.py rename to tests/sys/posix_semaphore/tests/01-run.py diff --git a/tests/posix_sleep/Makefile b/tests/sys/posix_sleep/Makefile similarity index 80% rename from tests/posix_sleep/Makefile rename to tests/sys/posix_sleep/Makefile index 7c6d7e76e3..5dcb9ed74c 100644 --- a/tests/posix_sleep/Makefile +++ b/tests/sys/posix_sleep/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += posix_sleep diff --git a/tests/prng_sha1prng/Makefile.ci b/tests/sys/posix_sleep/Makefile.ci similarity index 100% rename from tests/prng_sha1prng/Makefile.ci rename to tests/sys/posix_sleep/Makefile.ci diff --git a/tests/posix_sleep/README.md b/tests/sys/posix_sleep/README.md similarity index 100% rename from tests/posix_sleep/README.md rename to tests/sys/posix_sleep/README.md diff --git a/tests/posix_sleep/app.config.test b/tests/sys/posix_sleep/app.config.test similarity index 100% rename from tests/posix_sleep/app.config.test rename to tests/sys/posix_sleep/app.config.test diff --git a/tests/posix_sleep/main.c b/tests/sys/posix_sleep/main.c similarity index 100% rename from tests/posix_sleep/main.c rename to tests/sys/posix_sleep/main.c diff --git a/tests/posix_sleep/tests/01-run.py b/tests/sys/posix_sleep/tests/01-run.py similarity index 100% rename from tests/posix_sleep/tests/01-run.py rename to tests/sys/posix_sleep/tests/01-run.py diff --git a/tests/prng_sha1prng/Makefile b/tests/sys/prng_sha1prng/Makefile similarity index 72% rename from tests/prng_sha1prng/Makefile rename to tests/sys/prng_sha1prng/Makefile index c1bab91de0..5c424b9459 100644 --- a/tests/prng_sha1prng/Makefile +++ b/tests/sys/prng_sha1prng/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += random USEMODULE += prng_sha1prng diff --git a/tests/prng_sha256prng/Makefile.ci b/tests/sys/prng_sha1prng/Makefile.ci similarity index 100% rename from tests/prng_sha256prng/Makefile.ci rename to tests/sys/prng_sha1prng/Makefile.ci diff --git a/tests/prng_sha1prng/app.config.test b/tests/sys/prng_sha1prng/app.config.test similarity index 100% rename from tests/prng_sha1prng/app.config.test rename to tests/sys/prng_sha1prng/app.config.test diff --git a/tests/prng_sha1prng/main.c b/tests/sys/prng_sha1prng/main.c similarity index 100% rename from tests/prng_sha1prng/main.c rename to tests/sys/prng_sha1prng/main.c diff --git a/tests/prng_sha1prng/tests/01-run.py b/tests/sys/prng_sha1prng/tests/01-run.py similarity index 100% rename from tests/prng_sha1prng/tests/01-run.py rename to tests/sys/prng_sha1prng/tests/01-run.py diff --git a/tests/prng_sha256prng/Makefile b/tests/sys/prng_sha256prng/Makefile similarity index 72% rename from tests/prng_sha256prng/Makefile rename to tests/sys/prng_sha256prng/Makefile index 4508da343f..2a8c0c0be8 100644 --- a/tests/prng_sha256prng/Makefile +++ b/tests/sys/prng_sha256prng/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += random USEMODULE += prng_sha256prng diff --git a/tests/progress_bar/Makefile.ci b/tests/sys/prng_sha256prng/Makefile.ci similarity index 100% rename from tests/progress_bar/Makefile.ci rename to tests/sys/prng_sha256prng/Makefile.ci diff --git a/tests/prng_sha256prng/app.config.test b/tests/sys/prng_sha256prng/app.config.test similarity index 100% rename from tests/prng_sha256prng/app.config.test rename to tests/sys/prng_sha256prng/app.config.test diff --git a/tests/prng_sha256prng/main.c b/tests/sys/prng_sha256prng/main.c similarity index 100% rename from tests/prng_sha256prng/main.c rename to tests/sys/prng_sha256prng/main.c diff --git a/tests/prng_sha256prng/tests/01-run.py b/tests/sys/prng_sha256prng/tests/01-run.py similarity index 100% rename from tests/prng_sha256prng/tests/01-run.py rename to tests/sys/prng_sha256prng/tests/01-run.py diff --git a/tests/progress_bar/Makefile b/tests/sys/progress_bar/Makefile similarity index 96% rename from tests/progress_bar/Makefile rename to tests/sys/progress_bar/Makefile index a57c7a488f..842ee1ee94 100644 --- a/tests/progress_bar/Makefile +++ b/tests/sys/progress_bar/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer USEMODULE += progress_bar diff --git a/tests/pthread/Makefile.ci b/tests/sys/progress_bar/Makefile.ci similarity index 100% rename from tests/pthread/Makefile.ci rename to tests/sys/progress_bar/Makefile.ci diff --git a/tests/progress_bar/main.c b/tests/sys/progress_bar/main.c similarity index 100% rename from tests/progress_bar/main.c rename to tests/sys/progress_bar/main.c diff --git a/tests/progress_bar/tests/01-run.py b/tests/sys/progress_bar/tests/01-run.py similarity index 100% rename from tests/progress_bar/tests/01-run.py rename to tests/sys/progress_bar/tests/01-run.py diff --git a/tests/ps_schedstatistics/Makefile b/tests/sys/ps_schedstatistics/Makefile similarity index 95% rename from tests/ps_schedstatistics/Makefile rename to tests/sys/ps_schedstatistics/Makefile index 1e2282c1ff..106792da91 100644 --- a/tests/ps_schedstatistics/Makefile +++ b/tests/sys/ps_schedstatistics/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += shell USEMODULE += shell_cmds_default diff --git a/tests/ps_schedstatistics/Makefile.ci b/tests/sys/ps_schedstatistics/Makefile.ci similarity index 100% rename from tests/ps_schedstatistics/Makefile.ci rename to tests/sys/ps_schedstatistics/Makefile.ci diff --git a/tests/ps_schedstatistics/main.c b/tests/sys/ps_schedstatistics/main.c similarity index 100% rename from tests/ps_schedstatistics/main.c rename to tests/sys/ps_schedstatistics/main.c diff --git a/tests/ps_schedstatistics/tests/01-run.py b/tests/sys/ps_schedstatistics/tests/01-run.py similarity index 100% rename from tests/ps_schedstatistics/tests/01-run.py rename to tests/sys/ps_schedstatistics/tests/01-run.py diff --git a/tests/pthread/Makefile b/tests/sys/pthread/Makefile similarity index 90% rename from tests/pthread/Makefile rename to tests/sys/pthread/Makefile index 3ac8b293a6..f88f7ecb76 100644 --- a/tests/pthread/Makefile +++ b/tests/sys/pthread/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += posix_headers USEMODULE += pthread diff --git a/tests/pthread_cleanup/Makefile.ci b/tests/sys/pthread/Makefile.ci similarity index 100% rename from tests/pthread_cleanup/Makefile.ci rename to tests/sys/pthread/Makefile.ci diff --git a/tests/pthread/main.c b/tests/sys/pthread/main.c similarity index 100% rename from tests/pthread/main.c rename to tests/sys/pthread/main.c diff --git a/tests/pthread/tests/01-run.py b/tests/sys/pthread/tests/01-run.py similarity index 100% rename from tests/pthread/tests/01-run.py rename to tests/sys/pthread/tests/01-run.py diff --git a/tests/pthread_barrier/Makefile b/tests/sys/pthread_barrier/Makefile similarity index 91% rename from tests/pthread_barrier/Makefile rename to tests/sys/pthread_barrier/Makefile index 13409c8d92..7c50767927 100644 --- a/tests/pthread_barrier/Makefile +++ b/tests/sys/pthread_barrier/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common # Modules to include. USEMODULE += pthread diff --git a/tests/pthread_barrier/Makefile.ci b/tests/sys/pthread_barrier/Makefile.ci similarity index 100% rename from tests/pthread_barrier/Makefile.ci rename to tests/sys/pthread_barrier/Makefile.ci diff --git a/tests/pthread_barrier/main.c b/tests/sys/pthread_barrier/main.c similarity index 100% rename from tests/pthread_barrier/main.c rename to tests/sys/pthread_barrier/main.c diff --git a/tests/pthread_barrier/tests/01-run.py b/tests/sys/pthread_barrier/tests/01-run.py similarity index 93% rename from tests/pthread_barrier/tests/01-run.py rename to tests/sys/pthread_barrier/tests/01-run.py index f7831b1d00..eb671d73cc 100755 --- a/tests/pthread_barrier/tests/01-run.py +++ b/tests/sys/pthread_barrier/tests/01-run.py @@ -19,7 +19,7 @@ def testfunc(child): sleeps.append([sleep, child_num]) for _, child_num in sorted(sleeps): child.expect(r'Done (\d+)\r\n') - assert(child_num == int(child.match.group(1))) + assert child_num == int(child.match.group(1)) child.expect('SUCCESS') diff --git a/tests/pthread_cleanup/Makefile b/tests/sys/pthread_cleanup/Makefile similarity index 89% rename from tests/pthread_cleanup/Makefile rename to tests/sys/pthread_cleanup/Makefile index 8b14b44af2..72f0a7d79d 100644 --- a/tests/pthread_cleanup/Makefile +++ b/tests/sys/pthread_cleanup/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += pthread diff --git a/tests/pthread_tls/Makefile.ci b/tests/sys/pthread_cleanup/Makefile.ci similarity index 100% rename from tests/pthread_tls/Makefile.ci rename to tests/sys/pthread_cleanup/Makefile.ci diff --git a/tests/pthread_cleanup/main.c b/tests/sys/pthread_cleanup/main.c similarity index 100% rename from tests/pthread_cleanup/main.c rename to tests/sys/pthread_cleanup/main.c diff --git a/tests/pthread_cleanup/tests/01-run.py b/tests/sys/pthread_cleanup/tests/01-run.py similarity index 100% rename from tests/pthread_cleanup/tests/01-run.py rename to tests/sys/pthread_cleanup/tests/01-run.py diff --git a/tests/pthread_condition_variable/Makefile b/tests/sys/pthread_condition_variable/Makefile similarity index 80% rename from tests/pthread_condition_variable/Makefile rename to tests/sys/pthread_condition_variable/Makefile index 0e5083fed8..d2b928c3e7 100644 --- a/tests/pthread_condition_variable/Makefile +++ b/tests/sys/pthread_condition_variable/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += posix_headers USEMODULE += pthread diff --git a/tests/pthread_condition_variable/Makefile.ci b/tests/sys/pthread_condition_variable/Makefile.ci similarity index 100% rename from tests/pthread_condition_variable/Makefile.ci rename to tests/sys/pthread_condition_variable/Makefile.ci diff --git a/tests/pthread_condition_variable/main.c b/tests/sys/pthread_condition_variable/main.c similarity index 100% rename from tests/pthread_condition_variable/main.c rename to tests/sys/pthread_condition_variable/main.c diff --git a/tests/pthread_condition_variable/tests/01-run.py b/tests/sys/pthread_condition_variable/tests/01-run.py similarity index 100% rename from tests/pthread_condition_variable/tests/01-run.py rename to tests/sys/pthread_condition_variable/tests/01-run.py diff --git a/tests/pthread_cooperation/Makefile b/tests/sys/pthread_cooperation/Makefile similarity index 94% rename from tests/pthread_cooperation/Makefile rename to tests/sys/pthread_cooperation/Makefile index cd51dc4cba..34deece300 100644 --- a/tests/pthread_cooperation/Makefile +++ b/tests/sys/pthread_cooperation/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common # nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack # size for every thread diff --git a/tests/pthread_cooperation/Makefile.ci b/tests/sys/pthread_cooperation/Makefile.ci similarity index 100% rename from tests/pthread_cooperation/Makefile.ci rename to tests/sys/pthread_cooperation/Makefile.ci diff --git a/tests/pthread_cooperation/main.c b/tests/sys/pthread_cooperation/main.c similarity index 100% rename from tests/pthread_cooperation/main.c rename to tests/sys/pthread_cooperation/main.c diff --git a/tests/pthread_cooperation/tests/01-run.py b/tests/sys/pthread_cooperation/tests/01-run.py similarity index 100% rename from tests/pthread_cooperation/tests/01-run.py rename to tests/sys/pthread_cooperation/tests/01-run.py diff --git a/tests/pthread_flood/Makefile b/tests/sys/pthread_flood/Makefile similarity index 84% rename from tests/pthread_flood/Makefile rename to tests/sys/pthread_flood/Makefile index 5e567c7046..501f7f982c 100644 --- a/tests/pthread_flood/Makefile +++ b/tests/sys/pthread_flood/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += posix_headers USEMODULE += pthread diff --git a/tests/pthread_flood/Makefile.ci b/tests/sys/pthread_flood/Makefile.ci similarity index 100% rename from tests/pthread_flood/Makefile.ci rename to tests/sys/pthread_flood/Makefile.ci diff --git a/tests/pthread_flood/main.c b/tests/sys/pthread_flood/main.c similarity index 100% rename from tests/pthread_flood/main.c rename to tests/sys/pthread_flood/main.c diff --git a/tests/pthread_flood/tests/01-run.py b/tests/sys/pthread_flood/tests/01-run.py similarity index 100% rename from tests/pthread_flood/tests/01-run.py rename to tests/sys/pthread_flood/tests/01-run.py diff --git a/tests/pthread_rwlock/Makefile b/tests/sys/pthread_rwlock/Makefile similarity index 75% rename from tests/pthread_rwlock/Makefile rename to tests/sys/pthread_rwlock/Makefile index 3dcb5a5f88..42489b7a7a 100644 --- a/tests/pthread_rwlock/Makefile +++ b/tests/sys/pthread_rwlock/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += pthread USEMODULE += xtimer diff --git a/tests/pthread_rwlock/Makefile.ci b/tests/sys/pthread_rwlock/Makefile.ci similarity index 100% rename from tests/pthread_rwlock/Makefile.ci rename to tests/sys/pthread_rwlock/Makefile.ci diff --git a/tests/pthread_rwlock/main.c b/tests/sys/pthread_rwlock/main.c similarity index 100% rename from tests/pthread_rwlock/main.c rename to tests/sys/pthread_rwlock/main.c diff --git a/tests/pthread_rwlock/tests/01-run.py b/tests/sys/pthread_rwlock/tests/01-run.py similarity index 100% rename from tests/pthread_rwlock/tests/01-run.py rename to tests/sys/pthread_rwlock/tests/01-run.py diff --git a/tests/pthread_tls/Makefile b/tests/sys/pthread_tls/Makefile similarity index 90% rename from tests/pthread_tls/Makefile rename to tests/sys/pthread_tls/Makefile index 3ac8b293a6..f88f7ecb76 100644 --- a/tests/pthread_tls/Makefile +++ b/tests/sys/pthread_tls/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += posix_headers USEMODULE += pthread diff --git a/tests/sema/Makefile.ci b/tests/sys/pthread_tls/Makefile.ci similarity index 100% rename from tests/sema/Makefile.ci rename to tests/sys/pthread_tls/Makefile.ci diff --git a/tests/pthread_tls/main.c b/tests/sys/pthread_tls/main.c similarity index 100% rename from tests/pthread_tls/main.c rename to tests/sys/pthread_tls/main.c diff --git a/tests/pthread_tls/tests/01-run.py b/tests/sys/pthread_tls/tests/01-run.py similarity index 100% rename from tests/pthread_tls/tests/01-run.py rename to tests/sys/pthread_tls/tests/01-run.py diff --git a/tests/malloc/Makefile b/tests/sys/ptrtag/Makefile similarity index 53% rename from tests/malloc/Makefile rename to tests/sys/ptrtag/Makefile index 24bb481657..474ad5124a 100644 --- a/tests/malloc/Makefile +++ b/tests/sys/ptrtag/Makefile @@ -1,3 +1,3 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common include $(RIOTBASE)/Makefile.include diff --git a/tests/sys_ptrtag/main.c b/tests/sys/ptrtag/main.c similarity index 100% rename from tests/sys_ptrtag/main.c rename to tests/sys/ptrtag/main.c diff --git a/tests/sys_ptrtag/tests/01-run.py b/tests/sys/ptrtag/tests/01-run.py similarity index 100% rename from tests/sys_ptrtag/tests/01-run.py rename to tests/sys/ptrtag/tests/01-run.py diff --git a/tests/puf_sram/Makefile b/tests/sys/puf_sram/Makefile similarity index 80% rename from tests/puf_sram/Makefile rename to tests/sys/puf_sram/Makefile index 49f346746e..07df67abb2 100644 --- a/tests/puf_sram/Makefile +++ b/tests/sys/puf_sram/Makefile @@ -1,6 +1,6 @@ BOARD ?= nucleo-f411re -include ../Makefile.tests_common +include ../Makefile.sys_common FEATURES_REQUIRED += puf_sram DISABLE_MODULE += test_utils_interactive_sync diff --git a/tests/puf_sram/README.md b/tests/sys/puf_sram/README.md similarity index 100% rename from tests/puf_sram/README.md rename to tests/sys/puf_sram/README.md diff --git a/tests/puf_sram/main.c b/tests/sys/puf_sram/main.c similarity index 100% rename from tests/puf_sram/main.c rename to tests/sys/puf_sram/main.c diff --git a/tests/puf_sram/tests/example_test.py b/tests/sys/puf_sram/tests/example_test.py similarity index 100% rename from tests/puf_sram/tests/example_test.py rename to tests/sys/puf_sram/tests/example_test.py diff --git a/tests/puf_sram/tests/puf_sram_if.py b/tests/sys/puf_sram/tests/puf_sram_if.py similarity index 75% rename from tests/puf_sram/tests/puf_sram_if.py rename to tests/sys/puf_sram/tests/puf_sram_if.py index ec801adfa8..8fce4635d3 100644 --- a/tests/puf_sram/tests/puf_sram_if.py +++ b/tests/sys/puf_sram/tests/puf_sram_if.py @@ -14,7 +14,7 @@ class PufSram: def __init__(self, port, baud): self.__dev = serial.Serial(port, baud, timeout=10) - if(self.__dev.isOpen() is False): + if self.__dev.isOpen() is False: self.__dev.open() def repower(self, shutdown_time): @@ -26,15 +26,15 @@ class PufSram: data = None start = False str = 'no_exit' - while (str != ''): + while str != '': str = self.__dev.readline() - if (b'Start: ' in str): + if b'Start: ' in str: start = True - if ((b'Success: ' in str) and (start is True)): - if (b'[' in str) and (b']' in str): - data_str = str[str.find(b"[")+1:str.find(b"]")] + if b'Success: ' in str and start is True: + if b'[' in str and b']' in str: + data_str = str[str.find(b"[") + 1:str.find(b"]")] data = int(data_str, 0) - if ((b'End: ' in str) and (data is not None)): + if b'End: ' in str and data is not None: return data return None @@ -43,16 +43,16 @@ class PufSram: for i in range(0, n): self.repower(off_time) data.append(self.read_data()) - if (allow_print): + if allow_print: print('Iteration %i/%i' % (i, n)) print(data[-1]) return data def connect(self, dev): - if (dev.isOpen()): + if dev.isOpen(): dev.close() self.__dev = self - if(self.__dev.isOpen() is False): + if self.__dev.isOpen() is False: self.__dev.open() def disconnect(self): diff --git a/tests/rng/Makefile b/tests/sys/rng/Makefile similarity index 93% rename from tests/rng/Makefile rename to tests/sys/rng/Makefile index 72510fd564..c3c4206e8c 100644 --- a/tests/rng/Makefile +++ b/tests/sys/rng/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common # Default stack with printf + the tests buffer uint32_t[32]/uint8_t[256] MAIN_THREAD_SIZE = THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF+256 diff --git a/tests/rng/Makefile.ci b/tests/sys/rng/Makefile.ci similarity index 100% rename from tests/rng/Makefile.ci rename to tests/sys/rng/Makefile.ci diff --git a/tests/rng/README.md b/tests/sys/rng/README.md similarity index 100% rename from tests/rng/README.md rename to tests/sys/rng/README.md diff --git a/tests/rng/main.c b/tests/sys/rng/main.c similarity index 100% rename from tests/rng/main.c rename to tests/sys/rng/main.c diff --git a/tests/rng/test.c b/tests/sys/rng/test.c similarity index 100% rename from tests/rng/test.c rename to tests/sys/rng/test.c diff --git a/tests/rng/test.h b/tests/sys/rng/test.h similarity index 100% rename from tests/rng/test.h rename to tests/sys/rng/test.h diff --git a/tests/rng/tests/01-run.py b/tests/sys/rng/tests/01-run.py similarity index 100% rename from tests/rng/tests/01-run.py rename to tests/sys/rng/tests/01-run.py diff --git a/tests/sys_sched_round_robin/Makefile b/tests/sys/sched_round_robin/Makefile similarity index 93% rename from tests/sys_sched_round_robin/Makefile rename to tests/sys/sched_round_robin/Makefile index 69619175c4..086ef3e0f8 100644 --- a/tests/sys_sched_round_robin/Makefile +++ b/tests/sys/sched_round_robin/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common # Set to 1 to disable the round-robin scheduling module NORR ?= 0 diff --git a/tests/sys_sched_round_robin/Makefile.ci b/tests/sys/sched_round_robin/Makefile.ci similarity index 100% rename from tests/sys_sched_round_robin/Makefile.ci rename to tests/sys/sched_round_robin/Makefile.ci diff --git a/tests/sys_sched_round_robin/README.md b/tests/sys/sched_round_robin/README.md similarity index 100% rename from tests/sys_sched_round_robin/README.md rename to tests/sys/sched_round_robin/README.md diff --git a/tests/sys_sched_round_robin/main.c b/tests/sys/sched_round_robin/main.c similarity index 100% rename from tests/sys_sched_round_robin/main.c rename to tests/sys/sched_round_robin/main.c diff --git a/tests/sys_sched_round_robin/tests/01-run.py b/tests/sys/sched_round_robin/tests/01-run.py similarity index 100% rename from tests/sys_sched_round_robin/tests/01-run.py rename to tests/sys/sched_round_robin/tests/01-run.py diff --git a/tests/sema/Makefile b/tests/sys/sema/Makefile similarity index 72% rename from tests/sema/Makefile rename to tests/sys/sema/Makefile index 9f6f91ade1..1ed260b84b 100644 --- a/tests/sema/Makefile +++ b/tests/sys/sema/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += sema USEMODULE += sema_deprecated diff --git a/tests/shell_lock/Makefile.ci b/tests/sys/sema/Makefile.ci similarity index 100% rename from tests/shell_lock/Makefile.ci rename to tests/sys/sema/Makefile.ci diff --git a/tests/sema/main.c b/tests/sys/sema/main.c similarity index 100% rename from tests/sema/main.c rename to tests/sys/sema/main.c diff --git a/tests/sema/tests/01-run.py b/tests/sys/sema/tests/01-run.py similarity index 100% rename from tests/sema/tests/01-run.py rename to tests/sys/sema/tests/01-run.py diff --git a/tests/sys_sema_inv/Makefile b/tests/sys/sema_inv/Makefile similarity index 71% rename from tests/sys_sema_inv/Makefile rename to tests/sys/sema_inv/Makefile index f846bd01df..4b55e60aa6 100644 --- a/tests/sys_sema_inv/Makefile +++ b/tests/sys/sema_inv/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += sema_inv USEMODULE += xtimer diff --git a/tests/sys_sema_inv/Makefile.ci b/tests/sys/sema_inv/Makefile.ci similarity index 100% rename from tests/sys_sema_inv/Makefile.ci rename to tests/sys/sema_inv/Makefile.ci diff --git a/tests/sys_sema_inv/main.c b/tests/sys/sema_inv/main.c similarity index 100% rename from tests/sys_sema_inv/main.c rename to tests/sys/sema_inv/main.c diff --git a/tests/sys_sema_inv/tests/01-run.py b/tests/sys/sema_inv/tests/01-run.py similarity index 100% rename from tests/sys_sema_inv/tests/01-run.py rename to tests/sys/sema_inv/tests/01-run.py diff --git a/tests/senml_cbor/Makefile b/tests/sys/senml_cbor/Makefile similarity index 91% rename from tests/senml_cbor/Makefile rename to tests/sys/senml_cbor/Makefile index 8fb4ddec77..01be078919 100644 --- a/tests/senml_cbor/Makefile +++ b/tests/sys/senml_cbor/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += senml_cbor USEMODULE += fmt diff --git a/tests/senml_cbor/Makefile.ci b/tests/sys/senml_cbor/Makefile.ci similarity index 100% rename from tests/senml_cbor/Makefile.ci rename to tests/sys/senml_cbor/Makefile.ci diff --git a/tests/senml_cbor/app.config.test b/tests/sys/senml_cbor/app.config.test similarity index 100% rename from tests/senml_cbor/app.config.test rename to tests/sys/senml_cbor/app.config.test diff --git a/tests/senml_cbor/main.c b/tests/sys/senml_cbor/main.c similarity index 100% rename from tests/senml_cbor/main.c rename to tests/sys/senml_cbor/main.c diff --git a/tests/senml_cbor/tests/01-run.py b/tests/sys/senml_cbor/tests/01-run.py similarity index 100% rename from tests/senml_cbor/tests/01-run.py rename to tests/sys/senml_cbor/tests/01-run.py diff --git a/tests/senml_phydat/Makefile b/tests/sys/senml_phydat/Makefile similarity index 77% rename from tests/senml_phydat/Makefile rename to tests/sys/senml_phydat/Makefile index 452d330fda..7573b06451 100644 --- a/tests/senml_phydat/Makefile +++ b/tests/sys/senml_phydat/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += senml_phydat USEMODULE += embunit diff --git a/tests/senml_phydat/Makefile.ci b/tests/sys/senml_phydat/Makefile.ci similarity index 100% rename from tests/senml_phydat/Makefile.ci rename to tests/sys/senml_phydat/Makefile.ci diff --git a/tests/senml_phydat/app.config.test b/tests/sys/senml_phydat/app.config.test similarity index 100% rename from tests/senml_phydat/app.config.test rename to tests/sys/senml_phydat/app.config.test diff --git a/tests/senml_phydat/main.c b/tests/sys/senml_phydat/main.c similarity index 99% rename from tests/senml_phydat/main.c rename to tests/sys/senml_phydat/main.c index 60de8e0ba2..ef2217a852 100644 --- a/tests/senml_phydat/main.c +++ b/tests/sys/senml_phydat/main.c @@ -26,7 +26,7 @@ #include "flash_utils.h" #include "senml/phydat.h" -#define ENABLE_DEBUG (0) +#define ENABLE_DEBUG 0 #include "debug.h" #ifndef PRIi64 diff --git a/tests/senml_phydat/tests/01-run.py b/tests/sys/senml_phydat/tests/01-run.py similarity index 100% rename from tests/senml_phydat/tests/01-run.py rename to tests/sys/senml_phydat/tests/01-run.py diff --git a/tests/senml_saul/Makefile b/tests/sys/senml_saul/Makefile similarity index 75% rename from tests/senml_saul/Makefile rename to tests/sys/senml_saul/Makefile index 3595a6af76..7f13bf0308 100644 --- a/tests/senml_saul/Makefile +++ b/tests/sys/senml_saul/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += senml_saul USEMODULE += fmt diff --git a/tests/senml_saul/Makefile.ci b/tests/sys/senml_saul/Makefile.ci similarity index 100% rename from tests/senml_saul/Makefile.ci rename to tests/sys/senml_saul/Makefile.ci diff --git a/tests/senml_saul/main.c b/tests/sys/senml_saul/main.c similarity index 100% rename from tests/senml_saul/main.c rename to tests/sys/senml_saul/main.c diff --git a/tests/senml_saul/tests/01-run.py b/tests/sys/senml_saul/tests/01-run.py similarity index 100% rename from tests/senml_saul/tests/01-run.py rename to tests/sys/senml_saul/tests/01-run.py diff --git a/tests/shell/Makefile b/tests/sys/shell/Makefile similarity index 94% rename from tests/shell/Makefile rename to tests/sys/shell/Makefile index bc1e37da33..0c904de2de 100644 --- a/tests/shell/Makefile +++ b/tests/sys/shell/Makefile @@ -1,5 +1,5 @@ DEVELHELP=0 -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += app_metadata USEMODULE += shell_cmds_default diff --git a/tests/shell/Makefile.ci b/tests/sys/shell/Makefile.ci similarity index 100% rename from tests/shell/Makefile.ci rename to tests/sys/shell/Makefile.ci diff --git a/tests/shell/ReadMe.txt b/tests/sys/shell/ReadMe.txt similarity index 100% rename from tests/shell/ReadMe.txt rename to tests/sys/shell/ReadMe.txt diff --git a/tests/shell/app.config.test b/tests/sys/shell/app.config.test similarity index 100% rename from tests/shell/app.config.test rename to tests/sys/shell/app.config.test diff --git a/tests/shell/main.c b/tests/sys/shell/main.c similarity index 100% rename from tests/shell/main.c rename to tests/sys/shell/main.c diff --git a/tests/shell/tests/01-run.py b/tests/sys/shell/tests/01-run.py similarity index 100% rename from tests/shell/tests/01-run.py rename to tests/sys/shell/tests/01-run.py diff --git a/tests/shell_ble/Makefile b/tests/sys/shell_ble/Makefile similarity index 97% rename from tests/shell_ble/Makefile rename to tests/sys/shell_ble/Makefile index 29fae90573..ac8fe0e924 100644 --- a/tests/shell_ble/Makefile +++ b/tests/sys/shell_ble/Makefile @@ -1,6 +1,6 @@ DEVELHELP = 0 BOARD ?= nrf52dk -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += app_metadata USEMODULE += shell_cmds_default diff --git a/tests/shell_ble/README.md b/tests/sys/shell_ble/README.md similarity index 100% rename from tests/shell_ble/README.md rename to tests/sys/shell_ble/README.md diff --git a/tests/shell_ble/main.c b/tests/sys/shell_ble/main.c similarity index 100% rename from tests/shell_ble/main.c rename to tests/sys/shell_ble/main.c diff --git a/tests/shell_ble/tests-with-config/01-run.py b/tests/sys/shell_ble/tests-with-config/01-run.py similarity index 100% rename from tests/shell_ble/tests-with-config/01-run.py rename to tests/sys/shell_ble/tests-with-config/01-run.py diff --git a/tests/shell_lock/Makefile b/tests/sys/shell_lock/Makefile similarity index 96% rename from tests/shell_lock/Makefile rename to tests/sys/shell_lock/Makefile index 3bbeb75072..6b67361fde 100644 --- a/tests/shell_lock/Makefile +++ b/tests/sys/shell_lock/Makefile @@ -1,5 +1,5 @@ DEVELHELP=0 -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += shell USEMODULE += shell_cmds_default diff --git a/tests/sys_arduino/Makefile.ci b/tests/sys/shell_lock/Makefile.ci similarity index 100% rename from tests/sys_arduino/Makefile.ci rename to tests/sys/shell_lock/Makefile.ci diff --git a/tests/shell_lock/main.c b/tests/sys/shell_lock/main.c similarity index 100% rename from tests/shell_lock/main.c rename to tests/sys/shell_lock/main.c diff --git a/tests/shell_lock/tests/01-run.py b/tests/sys/shell_lock/tests/01-run.py similarity index 100% rename from tests/shell_lock/tests/01-run.py rename to tests/sys/shell_lock/tests/01-run.py diff --git a/tests/sys_stdio_semihosting/Makefile b/tests/sys/stdio_semihosting/Makefile similarity index 81% rename from tests/sys_stdio_semihosting/Makefile rename to tests/sys/stdio_semihosting/Makefile index d3d2b9189d..d6f7303c08 100644 --- a/tests/sys_stdio_semihosting/Makefile +++ b/tests/sys/stdio_semihosting/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += stdio_semihosting USEMODULE += shell_cmds_default diff --git a/tests/sys_stdio_semihosting/README.md b/tests/sys/stdio_semihosting/README.md similarity index 100% rename from tests/sys_stdio_semihosting/README.md rename to tests/sys/stdio_semihosting/README.md diff --git a/tests/sys_stdio_semihosting/main.c b/tests/sys/stdio_semihosting/main.c similarity index 100% rename from tests/sys_stdio_semihosting/main.c rename to tests/sys/stdio_semihosting/main.c diff --git a/tests/struct_tm_utility/Makefile b/tests/sys/struct_tm_utility/Makefile similarity index 81% rename from tests/struct_tm_utility/Makefile rename to tests/sys/struct_tm_utility/Makefile index 13c43fed3d..a1cd4a8a07 100644 --- a/tests/struct_tm_utility/Makefile +++ b/tests/sys/struct_tm_utility/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += shell USEMODULE += timex diff --git a/tests/struct_tm_utility/Makefile.ci b/tests/sys/struct_tm_utility/Makefile.ci similarity index 100% rename from tests/struct_tm_utility/Makefile.ci rename to tests/sys/struct_tm_utility/Makefile.ci diff --git a/tests/struct_tm_utility/app.config.test b/tests/sys/struct_tm_utility/app.config.test similarity index 100% rename from tests/struct_tm_utility/app.config.test rename to tests/sys/struct_tm_utility/app.config.test diff --git a/tests/struct_tm_utility/main.c b/tests/sys/struct_tm_utility/main.c similarity index 100% rename from tests/struct_tm_utility/main.c rename to tests/sys/struct_tm_utility/main.c diff --git a/tests/struct_tm_utility/tests/01-run.py b/tests/sys/struct_tm_utility/tests/01-run.py similarity index 100% rename from tests/struct_tm_utility/tests/01-run.py rename to tests/sys/struct_tm_utility/tests/01-run.py diff --git a/tests/suit_manifest/Makefile b/tests/sys/suit_manifest/Makefile similarity index 97% rename from tests/suit_manifest/Makefile rename to tests/sys/suit_manifest/Makefile index 489ac52216..1b780a5913 100644 --- a/tests/suit_manifest/Makefile +++ b/tests/sys/suit_manifest/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += suit suit_storage_ram USEMODULE += suit_transport_mock diff --git a/tests/suit_manifest/Makefile.ci b/tests/sys/suit_manifest/Makefile.ci similarity index 100% rename from tests/suit_manifest/Makefile.ci rename to tests/sys/suit_manifest/Makefile.ci diff --git a/tests/suit_manifest/create_test_data.sh b/tests/sys/suit_manifest/create_test_data.sh similarity index 100% rename from tests/suit_manifest/create_test_data.sh rename to tests/sys/suit_manifest/create_test_data.sh diff --git a/tests/suit_manifest/include/riotboot/flashwrite.h b/tests/sys/suit_manifest/include/riotboot/flashwrite.h similarity index 100% rename from tests/suit_manifest/include/riotboot/flashwrite.h rename to tests/sys/suit_manifest/include/riotboot/flashwrite.h diff --git a/tests/suit_manifest/main.c b/tests/sys/suit_manifest/main.c similarity index 100% rename from tests/suit_manifest/main.c rename to tests/sys/suit_manifest/main.c diff --git a/tests/suit_manifest/native_flashpage/native/Makefile b/tests/sys/suit_manifest/native_flashpage/native/Makefile similarity index 100% rename from tests/suit_manifest/native_flashpage/native/Makefile rename to tests/sys/suit_manifest/native_flashpage/native/Makefile diff --git a/tests/suit_manifest/native_flashpage/native/Makefile.dep b/tests/sys/suit_manifest/native_flashpage/native/Makefile.dep similarity index 100% rename from tests/suit_manifest/native_flashpage/native/Makefile.dep rename to tests/sys/suit_manifest/native_flashpage/native/Makefile.dep diff --git a/tests/suit_manifest/native_flashpage/native/Makefile.features b/tests/sys/suit_manifest/native_flashpage/native/Makefile.features similarity index 100% rename from tests/suit_manifest/native_flashpage/native/Makefile.features rename to tests/sys/suit_manifest/native_flashpage/native/Makefile.features diff --git a/tests/suit_manifest/native_flashpage/native/Makefile.include b/tests/sys/suit_manifest/native_flashpage/native/Makefile.include similarity index 100% rename from tests/suit_manifest/native_flashpage/native/Makefile.include rename to tests/sys/suit_manifest/native_flashpage/native/Makefile.include diff --git a/tests/suit_manifest/tests/01-run.py b/tests/sys/suit_manifest/tests/01-run.py similarity index 100% rename from tests/suit_manifest/tests/01-run.py rename to tests/sys/suit_manifest/tests/01-run.py diff --git a/tests/trace/Makefile b/tests/sys/trace/Makefile similarity index 83% rename from tests/trace/Makefile rename to tests/sys/trace/Makefile index ae0e377a82..54682bf8b0 100644 --- a/tests/trace/Makefile +++ b/tests/sys/trace/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += trace diff --git a/tests/trace/Makefile.ci b/tests/sys/trace/Makefile.ci similarity index 100% rename from tests/trace/Makefile.ci rename to tests/sys/trace/Makefile.ci diff --git a/tests/trace/app.config.test b/tests/sys/trace/app.config.test similarity index 100% rename from tests/trace/app.config.test rename to tests/sys/trace/app.config.test diff --git a/tests/trace/main.c b/tests/sys/trace/main.c similarity index 100% rename from tests/trace/main.c rename to tests/sys/trace/main.c diff --git a/tests/trace/tests/01-run.py b/tests/sys/trace/tests/01-run.py similarity index 100% rename from tests/trace/tests/01-run.py rename to tests/sys/trace/tests/01-run.py diff --git a/tests/trickle/Makefile b/tests/sys/trickle/Makefile similarity index 81% rename from tests/trickle/Makefile rename to tests/sys/trickle/Makefile index bf78a68258..6752866a3d 100644 --- a/tests/trickle/Makefile +++ b/tests/sys/trickle/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += trickle USEMODULE += ztimer_msec diff --git a/tests/trickle/Makefile.ci b/tests/sys/trickle/Makefile.ci similarity index 100% rename from tests/trickle/Makefile.ci rename to tests/sys/trickle/Makefile.ci diff --git a/tests/trickle/README.md b/tests/sys/trickle/README.md similarity index 100% rename from tests/trickle/README.md rename to tests/sys/trickle/README.md diff --git a/tests/trickle/app.config.test b/tests/sys/trickle/app.config.test similarity index 100% rename from tests/trickle/app.config.test rename to tests/sys/trickle/app.config.test diff --git a/tests/trickle/main.c b/tests/sys/trickle/main.c similarity index 100% rename from tests/trickle/main.c rename to tests/sys/trickle/main.c diff --git a/tests/trickle/tests/01-run.py b/tests/sys/trickle/tests/01-run.py similarity index 100% rename from tests/trickle/tests/01-run.py rename to tests/sys/trickle/tests/01-run.py diff --git a/tests/usbus/Makefile b/tests/sys/usbus/Makefile similarity index 87% rename from tests/usbus/Makefile rename to tests/sys/usbus/Makefile index eada3089ec..1cb88543e9 100644 --- a/tests/usbus/Makefile +++ b/tests/sys/usbus/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += embunit USEMODULE += usbus USEMODULE += usbdev_mock diff --git a/tests/usbus/Makefile.ci b/tests/sys/usbus/Makefile.ci similarity index 100% rename from tests/usbus/Makefile.ci rename to tests/sys/usbus/Makefile.ci diff --git a/tests/usbus/main.c b/tests/sys/usbus/main.c similarity index 100% rename from tests/usbus/main.c rename to tests/sys/usbus/main.c diff --git a/tests/usbus/tests/01-run.py b/tests/sys/usbus/tests/01-run.py similarity index 100% rename from tests/usbus/tests/01-run.py rename to tests/sys/usbus/tests/01-run.py diff --git a/tests/usbus_board_reset/Makefile b/tests/sys/usbus_board_reset/Makefile similarity index 90% rename from tests/usbus_board_reset/Makefile rename to tests/sys/usbus_board_reset/Makefile index 79af367242..04dcae4ee6 100644 --- a/tests/usbus_board_reset/Makefile +++ b/tests/sys/usbus_board_reset/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common FEATURES_REQUIRED += periph_usbdev diff --git a/tests/usbus_board_reset/README.md b/tests/sys/usbus_board_reset/README.md similarity index 100% rename from tests/usbus_board_reset/README.md rename to tests/sys/usbus_board_reset/README.md diff --git a/tests/usbus_board_reset/app.config.test b/tests/sys/usbus_board_reset/app.config.test similarity index 100% rename from tests/usbus_board_reset/app.config.test rename to tests/sys/usbus_board_reset/app.config.test diff --git a/tests/usbus_board_reset/main.c b/tests/sys/usbus_board_reset/main.c similarity index 100% rename from tests/usbus_board_reset/main.c rename to tests/sys/usbus_board_reset/main.c diff --git a/tests/usbus_cdc_acm_stdio/Makefile b/tests/sys/usbus_cdc_acm_stdio/Makefile similarity index 80% rename from tests/usbus_cdc_acm_stdio/Makefile rename to tests/sys/usbus_cdc_acm_stdio/Makefile index f8827d1178..94984e5f24 100644 --- a/tests/usbus_cdc_acm_stdio/Makefile +++ b/tests/sys/usbus_cdc_acm_stdio/Makefile @@ -1,5 +1,5 @@ BOARD ?= samr21-xpro -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += stdio_cdc_acm USEMODULE += shell_cmds_default diff --git a/tests/usbus_cdc_acm_stdio/Makefile.ci b/tests/sys/usbus_cdc_acm_stdio/Makefile.ci similarity index 100% rename from tests/usbus_cdc_acm_stdio/Makefile.ci rename to tests/sys/usbus_cdc_acm_stdio/Makefile.ci diff --git a/tests/usbus_cdc_acm_stdio/README.md b/tests/sys/usbus_cdc_acm_stdio/README.md similarity index 100% rename from tests/usbus_cdc_acm_stdio/README.md rename to tests/sys/usbus_cdc_acm_stdio/README.md diff --git a/tests/usbus_cdc_acm_stdio/main.c b/tests/sys/usbus_cdc_acm_stdio/main.c similarity index 100% rename from tests/usbus_cdc_acm_stdio/main.c rename to tests/sys/usbus_cdc_acm_stdio/main.c diff --git a/tests/usbus_cdc_ecm/Makefile b/tests/sys/usbus_cdc_ecm/Makefile similarity index 97% rename from tests/usbus_cdc_ecm/Makefile rename to tests/sys/usbus_cdc_ecm/Makefile index 1264f59061..a0b031a893 100644 --- a/tests/usbus_cdc_ecm/Makefile +++ b/tests/sys/usbus_cdc_ecm/Makefile @@ -1,5 +1,5 @@ BOARD ?= samr21-xpro -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += auto_init_gnrc_netif USEMODULE += gnrc_ipv6_router_default diff --git a/tests/usbus_cdc_ecm/Makefile.ci b/tests/sys/usbus_cdc_ecm/Makefile.ci similarity index 100% rename from tests/usbus_cdc_ecm/Makefile.ci rename to tests/sys/usbus_cdc_ecm/Makefile.ci diff --git a/tests/usbus_cdc_ecm/README.md b/tests/sys/usbus_cdc_ecm/README.md similarity index 100% rename from tests/usbus_cdc_ecm/README.md rename to tests/sys/usbus_cdc_ecm/README.md diff --git a/tests/usbus_cdc_ecm/main.c b/tests/sys/usbus_cdc_ecm/main.c similarity index 100% rename from tests/usbus_cdc_ecm/main.c rename to tests/sys/usbus_cdc_ecm/main.c diff --git a/tests/usbus_hid/Makefile b/tests/sys/usbus_hid/Makefile similarity index 84% rename from tests/usbus_hid/Makefile rename to tests/sys/usbus_hid/Makefile index 399a2668a0..24967a39db 100644 --- a/tests/usbus_hid/Makefile +++ b/tests/sys/usbus_hid/Makefile @@ -1,6 +1,6 @@ BOARD ?= nrf52840dk -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += usbus_hid diff --git a/tests/usbus_hid/README.md b/tests/sys/usbus_hid/README.md similarity index 100% rename from tests/usbus_hid/README.md rename to tests/sys/usbus_hid/README.md diff --git a/tests/usbus_hid/main.c b/tests/sys/usbus_hid/main.c similarity index 100% rename from tests/usbus_hid/main.c rename to tests/sys/usbus_hid/main.c diff --git a/tests/usbus_msc/Makefile b/tests/sys/usbus_msc/Makefile similarity index 96% rename from tests/usbus_msc/Makefile rename to tests/sys/usbus_msc/Makefile index b9f051727b..c3fe83ac04 100644 --- a/tests/usbus_msc/Makefile +++ b/tests/sys/usbus_msc/Makefile @@ -1,6 +1,6 @@ BOARD ?= same54-xpro -include ../Makefile.tests_common +include ../Makefile.sys_common # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. diff --git a/tests/usbus_msc/README.md b/tests/sys/usbus_msc/README.md similarity index 100% rename from tests/usbus_msc/README.md rename to tests/sys/usbus_msc/README.md diff --git a/tests/usbus_msc/app.config.test b/tests/sys/usbus_msc/app.config.test similarity index 100% rename from tests/usbus_msc/app.config.test rename to tests/sys/usbus_msc/app.config.test diff --git a/tests/usbus_msc/main.c b/tests/sys/usbus_msc/main.c similarity index 100% rename from tests/usbus_msc/main.c rename to tests/sys/usbus_msc/main.c diff --git a/tests/vfs_default/Makefile b/tests/sys/vfs_default/Makefile similarity index 90% rename from tests/vfs_default/Makefile rename to tests/sys/vfs_default/Makefile index 4f779942f0..6785f408ae 100644 --- a/tests/vfs_default/Makefile +++ b/tests/sys/vfs_default/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += vfs_default USEMODULE += vfs_auto_format diff --git a/tests/vfs_default/Makefile.ci b/tests/sys/vfs_default/Makefile.ci similarity index 100% rename from tests/vfs_default/Makefile.ci rename to tests/sys/vfs_default/Makefile.ci diff --git a/tests/vfs_default/main.c b/tests/sys/vfs_default/main.c similarity index 100% rename from tests/vfs_default/main.c rename to tests/sys/vfs_default/main.c diff --git a/tests/vfs_iterate_mount/Makefile b/tests/sys/vfs_iterate_mount/Makefile similarity index 70% rename from tests/vfs_iterate_mount/Makefile rename to tests/sys/vfs_iterate_mount/Makefile index c05a41a42b..1bfb09c2e4 100644 --- a/tests/vfs_iterate_mount/Makefile +++ b/tests/sys/vfs_iterate_mount/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += vfs USEMODULE += constfs diff --git a/tests/vfs_iterate_mount/Makefile.ci b/tests/sys/vfs_iterate_mount/Makefile.ci similarity index 100% rename from tests/vfs_iterate_mount/Makefile.ci rename to tests/sys/vfs_iterate_mount/Makefile.ci diff --git a/tests/vfs_iterate_mount/main.c b/tests/sys/vfs_iterate_mount/main.c similarity index 100% rename from tests/vfs_iterate_mount/main.c rename to tests/sys/vfs_iterate_mount/main.c diff --git a/tests/vfs_iterate_mount/tests/01-run.py b/tests/sys/vfs_iterate_mount/tests/01-run.py similarity index 100% rename from tests/vfs_iterate_mount/tests/01-run.py rename to tests/sys/vfs_iterate_mount/tests/01-run.py diff --git a/tests/vfs_plus_stdio/Makefile b/tests/sys/vfs_plus_stdio/Makefile similarity index 72% rename from tests/vfs_plus_stdio/Makefile rename to tests/sys/vfs_plus_stdio/Makefile index 86625c0bea..f9892af9f4 100644 --- a/tests/vfs_plus_stdio/Makefile +++ b/tests/sys/vfs_plus_stdio/Makefile @@ -1,5 +1,5 @@ DEVELHELP=0 -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += vfs USEMODULE += fmt diff --git a/tests/vfs_plus_stdio/Makefile.ci b/tests/sys/vfs_plus_stdio/Makefile.ci similarity index 100% rename from tests/vfs_plus_stdio/Makefile.ci rename to tests/sys/vfs_plus_stdio/Makefile.ci diff --git a/tests/vfs_plus_stdio/app.config.test b/tests/sys/vfs_plus_stdio/app.config.test similarity index 100% rename from tests/vfs_plus_stdio/app.config.test rename to tests/sys/vfs_plus_stdio/app.config.test diff --git a/tests/vfs_plus_stdio/main.c b/tests/sys/vfs_plus_stdio/main.c similarity index 100% rename from tests/vfs_plus_stdio/main.c rename to tests/sys/vfs_plus_stdio/main.c diff --git a/tests/vfs_plus_stdio/tests/01-run.py b/tests/sys/vfs_plus_stdio/tests/01-run.py similarity index 100% rename from tests/vfs_plus_stdio/tests/01-run.py rename to tests/sys/vfs_plus_stdio/tests/01-run.py diff --git a/tests/xtimer_drift/Makefile b/tests/sys/xtimer_drift/Makefile similarity index 69% rename from tests/xtimer_drift/Makefile rename to tests/sys/xtimer_drift/Makefile index 73c9ddecf0..5bdf7fb704 100644 --- a/tests/xtimer_drift/Makefile +++ b/tests/sys/xtimer_drift/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer USEMODULE += div diff --git a/tests/xtimer_drift/Makefile.ci b/tests/sys/xtimer_drift/Makefile.ci similarity index 100% rename from tests/xtimer_drift/Makefile.ci rename to tests/sys/xtimer_drift/Makefile.ci diff --git a/tests/xtimer_drift/README.md b/tests/sys/xtimer_drift/README.md similarity index 100% rename from tests/xtimer_drift/README.md rename to tests/sys/xtimer_drift/README.md diff --git a/tests/xtimer_drift/app.config.test b/tests/sys/xtimer_drift/app.config.test similarity index 100% rename from tests/xtimer_drift/app.config.test rename to tests/sys/xtimer_drift/app.config.test diff --git a/tests/xtimer_drift/main.c b/tests/sys/xtimer_drift/main.c similarity index 100% rename from tests/xtimer_drift/main.c rename to tests/sys/xtimer_drift/main.c diff --git a/tests/xtimer_hang/Makefile b/tests/sys/xtimer_hang/Makefile similarity index 95% rename from tests/xtimer_hang/Makefile rename to tests/sys/xtimer_hang/Makefile index ee2b79656c..a145d9911e 100644 --- a/tests/xtimer_hang/Makefile +++ b/tests/sys/xtimer_hang/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer DISABLE_MODULE := core_msg diff --git a/tests/xtimer_hang/Makefile.ci b/tests/sys/xtimer_hang/Makefile.ci similarity index 100% rename from tests/xtimer_hang/Makefile.ci rename to tests/sys/xtimer_hang/Makefile.ci diff --git a/tests/xtimer_hang/README.md b/tests/sys/xtimer_hang/README.md similarity index 100% rename from tests/xtimer_hang/README.md rename to tests/sys/xtimer_hang/README.md diff --git a/tests/xtimer_hang/app.config.test b/tests/sys/xtimer_hang/app.config.test similarity index 100% rename from tests/xtimer_hang/app.config.test rename to tests/sys/xtimer_hang/app.config.test diff --git a/tests/xtimer_hang/main.c b/tests/sys/xtimer_hang/main.c similarity index 100% rename from tests/xtimer_hang/main.c rename to tests/sys/xtimer_hang/main.c diff --git a/tests/xtimer_hang/tests/01-run.py b/tests/sys/xtimer_hang/tests/01-run.py similarity index 100% rename from tests/xtimer_hang/tests/01-run.py rename to tests/sys/xtimer_hang/tests/01-run.py diff --git a/tests/xtimer_msg/Makefile b/tests/sys/xtimer_longterm/Makefile similarity index 64% rename from tests/xtimer_msg/Makefile rename to tests/sys/xtimer_longterm/Makefile index 8bff23ceea..16e08d01b7 100644 --- a/tests/xtimer_msg/Makefile +++ b/tests/sys/xtimer_longterm/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_longterm/Makefile.ci b/tests/sys/xtimer_longterm/Makefile.ci similarity index 100% rename from tests/xtimer_longterm/Makefile.ci rename to tests/sys/xtimer_longterm/Makefile.ci diff --git a/tests/xtimer_longterm/README.md b/tests/sys/xtimer_longterm/README.md similarity index 100% rename from tests/xtimer_longterm/README.md rename to tests/sys/xtimer_longterm/README.md diff --git a/tests/xtimer_longterm/app.config.test b/tests/sys/xtimer_longterm/app.config.test similarity index 100% rename from tests/xtimer_longterm/app.config.test rename to tests/sys/xtimer_longterm/app.config.test diff --git a/tests/xtimer_longterm/main.c b/tests/sys/xtimer_longterm/main.c similarity index 100% rename from tests/xtimer_longterm/main.c rename to tests/sys/xtimer_longterm/main.c diff --git a/tests/xtimer_msg_receive_timeout/Makefile b/tests/sys/xtimer_msg/Makefile similarity index 64% rename from tests/xtimer_msg_receive_timeout/Makefile rename to tests/sys/xtimer_msg/Makefile index 8bff23ceea..16e08d01b7 100644 --- a/tests/xtimer_msg_receive_timeout/Makefile +++ b/tests/sys/xtimer_msg/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_msg/Makefile.ci b/tests/sys/xtimer_msg/Makefile.ci similarity index 100% rename from tests/xtimer_msg/Makefile.ci rename to tests/sys/xtimer_msg/Makefile.ci diff --git a/tests/xtimer_msg/app.config.test b/tests/sys/xtimer_msg/app.config.test similarity index 100% rename from tests/xtimer_msg/app.config.test rename to tests/sys/xtimer_msg/app.config.test diff --git a/tests/xtimer_msg/main.c b/tests/sys/xtimer_msg/main.c similarity index 100% rename from tests/xtimer_msg/main.c rename to tests/sys/xtimer_msg/main.c diff --git a/tests/xtimer_msg/tests/01-run.py b/tests/sys/xtimer_msg/tests/01-run.py similarity index 100% rename from tests/xtimer_msg/tests/01-run.py rename to tests/sys/xtimer_msg/tests/01-run.py diff --git a/tests/xtimer_longterm/Makefile b/tests/sys/xtimer_msg_receive_timeout/Makefile similarity index 64% rename from tests/xtimer_longterm/Makefile rename to tests/sys/xtimer_msg_receive_timeout/Makefile index 8bff23ceea..16e08d01b7 100644 --- a/tests/xtimer_longterm/Makefile +++ b/tests/sys/xtimer_msg_receive_timeout/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_msg_receive_timeout/README.md b/tests/sys/xtimer_msg_receive_timeout/README.md similarity index 100% rename from tests/xtimer_msg_receive_timeout/README.md rename to tests/sys/xtimer_msg_receive_timeout/README.md diff --git a/tests/xtimer_msg_receive_timeout/app.config.test b/tests/sys/xtimer_msg_receive_timeout/app.config.test similarity index 100% rename from tests/xtimer_msg_receive_timeout/app.config.test rename to tests/sys/xtimer_msg_receive_timeout/app.config.test diff --git a/tests/xtimer_msg_receive_timeout/main.c b/tests/sys/xtimer_msg_receive_timeout/main.c similarity index 100% rename from tests/xtimer_msg_receive_timeout/main.c rename to tests/sys/xtimer_msg_receive_timeout/main.c diff --git a/tests/xtimer_msg_receive_timeout/tests/01-run.py b/tests/sys/xtimer_msg_receive_timeout/tests/01-run.py similarity index 100% rename from tests/xtimer_msg_receive_timeout/tests/01-run.py rename to tests/sys/xtimer_msg_receive_timeout/tests/01-run.py diff --git a/tests/xtimer_mutex_lock_timeout/Makefile b/tests/sys/xtimer_mutex_lock_timeout/Makefile similarity index 86% rename from tests/xtimer_mutex_lock_timeout/Makefile rename to tests/sys/xtimer_mutex_lock_timeout/Makefile index 43c775e0af..51d8146ae7 100644 --- a/tests/xtimer_mutex_lock_timeout/Makefile +++ b/tests/sys/xtimer_mutex_lock_timeout/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer USEMODULE += shell diff --git a/tests/xtimer_mutex_lock_timeout/Makefile.ci b/tests/sys/xtimer_mutex_lock_timeout/Makefile.ci similarity index 100% rename from tests/xtimer_mutex_lock_timeout/Makefile.ci rename to tests/sys/xtimer_mutex_lock_timeout/Makefile.ci diff --git a/tests/xtimer_mutex_lock_timeout/app.config.test b/tests/sys/xtimer_mutex_lock_timeout/app.config.test similarity index 100% rename from tests/xtimer_mutex_lock_timeout/app.config.test rename to tests/sys/xtimer_mutex_lock_timeout/app.config.test diff --git a/tests/xtimer_mutex_lock_timeout/main.c b/tests/sys/xtimer_mutex_lock_timeout/main.c similarity index 100% rename from tests/xtimer_mutex_lock_timeout/main.c rename to tests/sys/xtimer_mutex_lock_timeout/main.c diff --git a/tests/xtimer_mutex_lock_timeout/tests/01-run.py b/tests/sys/xtimer_mutex_lock_timeout/tests/01-run.py similarity index 100% rename from tests/xtimer_mutex_lock_timeout/tests/01-run.py rename to tests/sys/xtimer_mutex_lock_timeout/tests/01-run.py diff --git a/tests/xtimer_now32_overflow/Makefile b/tests/sys/xtimer_now32_overflow/Makefile similarity index 96% rename from tests/xtimer_now32_overflow/Makefile rename to tests/sys/xtimer_now32_overflow/Makefile index 5d2e0490cb..874886ff34 100644 --- a/tests/xtimer_now32_overflow/Makefile +++ b/tests/sys/xtimer_now32_overflow/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer USEMODULE += xtimer_no_ztimer_default diff --git a/tests/xtimer_now32_overflow/README.md b/tests/sys/xtimer_now32_overflow/README.md similarity index 100% rename from tests/xtimer_now32_overflow/README.md rename to tests/sys/xtimer_now32_overflow/README.md diff --git a/tests/xtimer_now32_overflow/app.config.test b/tests/sys/xtimer_now32_overflow/app.config.test similarity index 100% rename from tests/xtimer_now32_overflow/app.config.test rename to tests/sys/xtimer_now32_overflow/app.config.test diff --git a/tests/xtimer_now32_overflow/main.c b/tests/sys/xtimer_now32_overflow/main.c similarity index 100% rename from tests/xtimer_now32_overflow/main.c rename to tests/sys/xtimer_now32_overflow/main.c diff --git a/tests/xtimer_now32_overflow/tests/01-run.py b/tests/sys/xtimer_now32_overflow/tests/01-run.py similarity index 100% rename from tests/xtimer_now32_overflow/tests/01-run.py rename to tests/sys/xtimer_now32_overflow/tests/01-run.py diff --git a/tests/xtimer_now64_continuity/Makefile b/tests/sys/xtimer_now64_continuity/Makefile similarity index 96% rename from tests/xtimer_now64_continuity/Makefile rename to tests/sys/xtimer_now64_continuity/Makefile index 4fee127d1c..5d3f789711 100644 --- a/tests/xtimer_now64_continuity/Makefile +++ b/tests/sys/xtimer_now64_continuity/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += fmt USEMODULE += xtimer diff --git a/tests/xtimer_now64_continuity/README.md b/tests/sys/xtimer_now64_continuity/README.md similarity index 100% rename from tests/xtimer_now64_continuity/README.md rename to tests/sys/xtimer_now64_continuity/README.md diff --git a/tests/xtimer_now64_continuity/app.config.test b/tests/sys/xtimer_now64_continuity/app.config.test similarity index 100% rename from tests/xtimer_now64_continuity/app.config.test rename to tests/sys/xtimer_now64_continuity/app.config.test diff --git a/tests/xtimer_now64_continuity/main.c b/tests/sys/xtimer_now64_continuity/main.c similarity index 100% rename from tests/xtimer_now64_continuity/main.c rename to tests/sys/xtimer_now64_continuity/main.c diff --git a/tests/xtimer_now64_continuity/tests/01-run.py b/tests/sys/xtimer_now64_continuity/tests/01-run.py similarity index 100% rename from tests/xtimer_now64_continuity/tests/01-run.py rename to tests/sys/xtimer_now64_continuity/tests/01-run.py diff --git a/tests/xtimer_now_irq/Makefile b/tests/sys/xtimer_now_irq/Makefile similarity index 72% rename from tests/xtimer_now_irq/Makefile rename to tests/sys/xtimer_now_irq/Makefile index 99d1cd5d48..9149295092 100644 --- a/tests/xtimer_now_irq/Makefile +++ b/tests/sys/xtimer_now_irq/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_now_irq/README.md b/tests/sys/xtimer_now_irq/README.md similarity index 100% rename from tests/xtimer_now_irq/README.md rename to tests/sys/xtimer_now_irq/README.md diff --git a/tests/xtimer_now_irq/app.config.test b/tests/sys/xtimer_now_irq/app.config.test similarity index 100% rename from tests/xtimer_now_irq/app.config.test rename to tests/sys/xtimer_now_irq/app.config.test diff --git a/tests/xtimer_now_irq/main.c b/tests/sys/xtimer_now_irq/main.c similarity index 100% rename from tests/xtimer_now_irq/main.c rename to tests/sys/xtimer_now_irq/main.c diff --git a/tests/xtimer_now_irq/tests/01-run.py b/tests/sys/xtimer_now_irq/tests/01-run.py similarity index 100% rename from tests/xtimer_now_irq/tests/01-run.py rename to tests/sys/xtimer_now_irq/tests/01-run.py diff --git a/tests/xtimer_overhead/Makefile b/tests/sys/xtimer_overhead/Makefile similarity index 69% rename from tests/xtimer_overhead/Makefile rename to tests/sys/xtimer_overhead/Makefile index c29d542229..a3051be545 100644 --- a/tests/xtimer_overhead/Makefile +++ b/tests/sys/xtimer_overhead/Makefile @@ -1,5 +1,5 @@ DEVELHELP ?= 0 -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_overhead/README.md b/tests/sys/xtimer_overhead/README.md similarity index 100% rename from tests/xtimer_overhead/README.md rename to tests/sys/xtimer_overhead/README.md diff --git a/tests/xtimer_overhead/app.config.test b/tests/sys/xtimer_overhead/app.config.test similarity index 100% rename from tests/xtimer_overhead/app.config.test rename to tests/sys/xtimer_overhead/app.config.test diff --git a/tests/xtimer_overhead/main.c b/tests/sys/xtimer_overhead/main.c similarity index 100% rename from tests/xtimer_overhead/main.c rename to tests/sys/xtimer_overhead/main.c diff --git a/tests/xtimer_overhead/overhead.c b/tests/sys/xtimer_overhead/overhead.c similarity index 100% rename from tests/xtimer_overhead/overhead.c rename to tests/sys/xtimer_overhead/overhead.c diff --git a/tests/xtimer_overhead/tests/01-run.py b/tests/sys/xtimer_overhead/tests/01-run.py similarity index 100% rename from tests/xtimer_overhead/tests/01-run.py rename to tests/sys/xtimer_overhead/tests/01-run.py diff --git a/tests/xtimer_periodic_wakeup/Makefile b/tests/sys/xtimer_periodic_wakeup/Makefile similarity index 92% rename from tests/xtimer_periodic_wakeup/Makefile rename to tests/sys/xtimer_periodic_wakeup/Makefile index f835fcc09e..1e816c4786 100644 --- a/tests/xtimer_periodic_wakeup/Makefile +++ b/tests/sys/xtimer_periodic_wakeup/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_periodic_wakeup/Makefile.ci b/tests/sys/xtimer_periodic_wakeup/Makefile.ci similarity index 100% rename from tests/xtimer_periodic_wakeup/Makefile.ci rename to tests/sys/xtimer_periodic_wakeup/Makefile.ci diff --git a/tests/xtimer_periodic_wakeup/app.config.test b/tests/sys/xtimer_periodic_wakeup/app.config.test similarity index 100% rename from tests/xtimer_periodic_wakeup/app.config.test rename to tests/sys/xtimer_periodic_wakeup/app.config.test diff --git a/tests/xtimer_periodic_wakeup/main.c b/tests/sys/xtimer_periodic_wakeup/main.c similarity index 100% rename from tests/xtimer_periodic_wakeup/main.c rename to tests/sys/xtimer_periodic_wakeup/main.c diff --git a/tests/xtimer_periodic_wakeup/tests/01-run.py b/tests/sys/xtimer_periodic_wakeup/tests/01-run.py similarity index 100% rename from tests/xtimer_periodic_wakeup/tests/01-run.py rename to tests/sys/xtimer_periodic_wakeup/tests/01-run.py diff --git a/tests/xtimer_remove/Makefile b/tests/sys/xtimer_remove/Makefile similarity index 64% rename from tests/xtimer_remove/Makefile rename to tests/sys/xtimer_remove/Makefile index 8bff23ceea..16e08d01b7 100644 --- a/tests/xtimer_remove/Makefile +++ b/tests/sys/xtimer_remove/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_remove/app.config.test b/tests/sys/xtimer_remove/app.config.test similarity index 100% rename from tests/xtimer_remove/app.config.test rename to tests/sys/xtimer_remove/app.config.test diff --git a/tests/xtimer_remove/main.c b/tests/sys/xtimer_remove/main.c similarity index 100% rename from tests/xtimer_remove/main.c rename to tests/sys/xtimer_remove/main.c diff --git a/tests/xtimer_remove/tests/01-run.py b/tests/sys/xtimer_remove/tests/01-run.py similarity index 100% rename from tests/xtimer_remove/tests/01-run.py rename to tests/sys/xtimer_remove/tests/01-run.py diff --git a/tests/sys/xtimer_reset/Makefile b/tests/sys/xtimer_reset/Makefile new file mode 100644 index 0000000000..16e08d01b7 --- /dev/null +++ b/tests/sys/xtimer_reset/Makefile @@ -0,0 +1,5 @@ +include ../Makefile.sys_common + +USEMODULE += xtimer + +include $(RIOTBASE)/Makefile.include diff --git a/tests/xtimer_reset/app.config.test b/tests/sys/xtimer_reset/app.config.test similarity index 100% rename from tests/xtimer_reset/app.config.test rename to tests/sys/xtimer_reset/app.config.test diff --git a/tests/xtimer_reset/main.c b/tests/sys/xtimer_reset/main.c similarity index 100% rename from tests/xtimer_reset/main.c rename to tests/sys/xtimer_reset/main.c diff --git a/tests/xtimer_reset/tests/01-run.py b/tests/sys/xtimer_reset/tests/01-run.py similarity index 100% rename from tests/xtimer_reset/tests/01-run.py rename to tests/sys/xtimer_reset/tests/01-run.py diff --git a/tests/xtimer_rmutex_lock_timeout/Makefile b/tests/sys/xtimer_rmutex_lock_timeout/Makefile similarity index 81% rename from tests/xtimer_rmutex_lock_timeout/Makefile rename to tests/sys/xtimer_rmutex_lock_timeout/Makefile index 1ee267d3f6..8e3e483df3 100644 --- a/tests/xtimer_rmutex_lock_timeout/Makefile +++ b/tests/sys/xtimer_rmutex_lock_timeout/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer USEMODULE += shell diff --git a/tests/xtimer_rmutex_lock_timeout/Makefile.ci b/tests/sys/xtimer_rmutex_lock_timeout/Makefile.ci similarity index 100% rename from tests/xtimer_rmutex_lock_timeout/Makefile.ci rename to tests/sys/xtimer_rmutex_lock_timeout/Makefile.ci diff --git a/tests/xtimer_rmutex_lock_timeout/app.config.test b/tests/sys/xtimer_rmutex_lock_timeout/app.config.test similarity index 100% rename from tests/xtimer_rmutex_lock_timeout/app.config.test rename to tests/sys/xtimer_rmutex_lock_timeout/app.config.test diff --git a/tests/xtimer_rmutex_lock_timeout/main.c b/tests/sys/xtimer_rmutex_lock_timeout/main.c similarity index 100% rename from tests/xtimer_rmutex_lock_timeout/main.c rename to tests/sys/xtimer_rmutex_lock_timeout/main.c diff --git a/tests/xtimer_rmutex_lock_timeout/tests/01-run.py b/tests/sys/xtimer_rmutex_lock_timeout/tests/01-run.py similarity index 100% rename from tests/xtimer_rmutex_lock_timeout/tests/01-run.py rename to tests/sys/xtimer_rmutex_lock_timeout/tests/01-run.py diff --git a/tests/xtimer_usleep/Makefile b/tests/sys/xtimer_usleep/Makefile similarity index 93% rename from tests/xtimer_usleep/Makefile rename to tests/sys/xtimer_usleep/Makefile index f9cd9af854..bd0b908aa4 100644 --- a/tests/xtimer_usleep/Makefile +++ b/tests/sys/xtimer_usleep/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_usleep/README.md b/tests/sys/xtimer_usleep/README.md similarity index 100% rename from tests/xtimer_usleep/README.md rename to tests/sys/xtimer_usleep/README.md diff --git a/tests/xtimer_usleep/app.config.test b/tests/sys/xtimer_usleep/app.config.test similarity index 100% rename from tests/xtimer_usleep/app.config.test rename to tests/sys/xtimer_usleep/app.config.test diff --git a/tests/xtimer_usleep/main.c b/tests/sys/xtimer_usleep/main.c similarity index 100% rename from tests/xtimer_usleep/main.c rename to tests/sys/xtimer_usleep/main.c diff --git a/tests/xtimer_usleep/tests/01-run.py b/tests/sys/xtimer_usleep/tests/01-run.py similarity index 100% rename from tests/xtimer_usleep/tests/01-run.py rename to tests/sys/xtimer_usleep/tests/01-run.py diff --git a/tests/xtimer_usleep_short/Makefile b/tests/sys/xtimer_usleep_short/Makefile similarity index 79% rename from tests/xtimer_usleep_short/Makefile rename to tests/sys/xtimer_usleep_short/Makefile index ea83ba30b7..ba29fffb1e 100644 --- a/tests/xtimer_usleep_short/Makefile +++ b/tests/sys/xtimer_usleep_short/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += xtimer diff --git a/tests/xtimer_usleep_short/app.config.test b/tests/sys/xtimer_usleep_short/app.config.test similarity index 100% rename from tests/xtimer_usleep_short/app.config.test rename to tests/sys/xtimer_usleep_short/app.config.test diff --git a/tests/xtimer_usleep_short/main.c b/tests/sys/xtimer_usleep_short/main.c similarity index 100% rename from tests/xtimer_usleep_short/main.c rename to tests/sys/xtimer_usleep_short/main.c diff --git a/tests/xtimer_usleep_short/tests/01-run.py b/tests/sys/xtimer_usleep_short/tests/01-run.py similarity index 100% rename from tests/xtimer_usleep_short/tests/01-run.py rename to tests/sys/xtimer_usleep_short/tests/01-run.py diff --git a/tests/ztimer64_msg/Makefile b/tests/sys/ztimer64_msg/Makefile similarity index 88% rename from tests/ztimer64_msg/Makefile rename to tests/sys/ztimer64_msg/Makefile index 1a28151454..7675e40d6d 100644 --- a/tests/ztimer64_msg/Makefile +++ b/tests/sys/ztimer64_msg/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += ztimer64_usec diff --git a/tests/ztimer64_msg/Makefile.ci b/tests/sys/ztimer64_msg/Makefile.ci similarity index 100% rename from tests/ztimer64_msg/Makefile.ci rename to tests/sys/ztimer64_msg/Makefile.ci diff --git a/tests/ztimer64_msg/README.md b/tests/sys/ztimer64_msg/README.md similarity index 100% rename from tests/ztimer64_msg/README.md rename to tests/sys/ztimer64_msg/README.md diff --git a/tests/ztimer64_msg/app.config.test b/tests/sys/ztimer64_msg/app.config.test similarity index 100% rename from tests/ztimer64_msg/app.config.test rename to tests/sys/ztimer64_msg/app.config.test diff --git a/tests/ztimer64_msg/main.c b/tests/sys/ztimer64_msg/main.c similarity index 100% rename from tests/ztimer64_msg/main.c rename to tests/sys/ztimer64_msg/main.c diff --git a/tests/ztimer64_msg/tests/01-run.py b/tests/sys/ztimer64_msg/tests/01-run.py similarity index 100% rename from tests/ztimer64_msg/tests/01-run.py rename to tests/sys/ztimer64_msg/tests/01-run.py diff --git a/tests/ztimer_msg/Makefile b/tests/sys/ztimer_msg/Makefile similarity index 85% rename from tests/ztimer_msg/Makefile rename to tests/sys/ztimer_msg/Makefile index 247bbc2030..afc279c503 100644 --- a/tests/ztimer_msg/Makefile +++ b/tests/sys/ztimer_msg/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += ztimer_usec diff --git a/tests/ztimer_msg/Makefile.ci b/tests/sys/ztimer_msg/Makefile.ci similarity index 100% rename from tests/ztimer_msg/Makefile.ci rename to tests/sys/ztimer_msg/Makefile.ci diff --git a/tests/ztimer_msg/README.md b/tests/sys/ztimer_msg/README.md similarity index 100% rename from tests/ztimer_msg/README.md rename to tests/sys/ztimer_msg/README.md diff --git a/tests/ztimer_msg/app.config.test b/tests/sys/ztimer_msg/app.config.test similarity index 100% rename from tests/ztimer_msg/app.config.test rename to tests/sys/ztimer_msg/app.config.test diff --git a/tests/ztimer_msg/main.c b/tests/sys/ztimer_msg/main.c similarity index 100% rename from tests/ztimer_msg/main.c rename to tests/sys/ztimer_msg/main.c diff --git a/tests/ztimer_msg/tests/01-run.py b/tests/sys/ztimer_msg/tests/01-run.py similarity index 100% rename from tests/ztimer_msg/tests/01-run.py rename to tests/sys/ztimer_msg/tests/01-run.py diff --git a/tests/ztimer_mutex_lock_timeout/Makefile b/tests/sys/ztimer_mutex_lock_timeout/Makefile similarity index 65% rename from tests/ztimer_mutex_lock_timeout/Makefile rename to tests/sys/ztimer_mutex_lock_timeout/Makefile index 9b50442b8c..72da3ee294 100644 --- a/tests/ztimer_mutex_lock_timeout/Makefile +++ b/tests/sys/ztimer_mutex_lock_timeout/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += ztimer_usec diff --git a/tests/ztimer_mutex_lock_timeout/app.config.test b/tests/sys/ztimer_mutex_lock_timeout/app.config.test similarity index 100% rename from tests/ztimer_mutex_lock_timeout/app.config.test rename to tests/sys/ztimer_mutex_lock_timeout/app.config.test diff --git a/tests/ztimer_mutex_lock_timeout/main.c b/tests/sys/ztimer_mutex_lock_timeout/main.c similarity index 100% rename from tests/ztimer_mutex_lock_timeout/main.c rename to tests/sys/ztimer_mutex_lock_timeout/main.c diff --git a/tests/ztimer_mutex_lock_timeout/tests/01-run.py b/tests/sys/ztimer_mutex_lock_timeout/tests/01-run.py similarity index 100% rename from tests/ztimer_mutex_lock_timeout/tests/01-run.py rename to tests/sys/ztimer_mutex_lock_timeout/tests/01-run.py diff --git a/tests/ztimer_ondemand_benchmark/Makefile b/tests/sys/ztimer_ondemand_benchmark/Makefile similarity index 94% rename from tests/ztimer_ondemand_benchmark/Makefile rename to tests/sys/ztimer_ondemand_benchmark/Makefile index b9ee66324b..8920d34a73 100644 --- a/tests/ztimer_ondemand_benchmark/Makefile +++ b/tests/sys/ztimer_ondemand_benchmark/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common # required modules USEMODULE += ztimer diff --git a/tests/ztimer_ondemand_benchmark/README.md b/tests/sys/ztimer_ondemand_benchmark/README.md similarity index 100% rename from tests/ztimer_ondemand_benchmark/README.md rename to tests/sys/ztimer_ondemand_benchmark/README.md diff --git a/tests/ztimer_ondemand_benchmark/main.c b/tests/sys/ztimer_ondemand_benchmark/main.c similarity index 100% rename from tests/ztimer_ondemand_benchmark/main.c rename to tests/sys/ztimer_ondemand_benchmark/main.c diff --git a/tests/ztimer_overhead/Makefile b/tests/sys/ztimer_overhead/Makefile similarity index 86% rename from tests/ztimer_overhead/Makefile rename to tests/sys/ztimer_overhead/Makefile index 4d8e519d89..5262b67db3 100644 --- a/tests/ztimer_overhead/Makefile +++ b/tests/sys/ztimer_overhead/Makefile @@ -1,6 +1,6 @@ DEVELHELP ?= 0 -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += ztimer_auto_adjust USEMODULE += ztimer_overhead diff --git a/tests/ztimer_overhead/README.md b/tests/sys/ztimer_overhead/README.md similarity index 100% rename from tests/ztimer_overhead/README.md rename to tests/sys/ztimer_overhead/README.md diff --git a/tests/ztimer_overhead/app.config.test b/tests/sys/ztimer_overhead/app.config.test similarity index 100% rename from tests/ztimer_overhead/app.config.test rename to tests/sys/ztimer_overhead/app.config.test diff --git a/tests/ztimer_overhead/main.c b/tests/sys/ztimer_overhead/main.c similarity index 100% rename from tests/ztimer_overhead/main.c rename to tests/sys/ztimer_overhead/main.c diff --git a/tests/ztimer_overhead/tests/01-run.py b/tests/sys/ztimer_overhead/tests/01-run.py similarity index 100% rename from tests/ztimer_overhead/tests/01-run.py rename to tests/sys/ztimer_overhead/tests/01-run.py diff --git a/tests/ztimer_periodic/Makefile b/tests/sys/ztimer_periodic/Makefile similarity index 93% rename from tests/ztimer_periodic/Makefile rename to tests/sys/ztimer_periodic/Makefile index dd85c297e2..91f8de81d2 100644 --- a/tests/ztimer_periodic/Makefile +++ b/tests/sys/ztimer_periodic/Makefile @@ -1,5 +1,5 @@ DEVELHELP ?= 0 -include ../Makefile.tests_common +include ../Makefile.sys_common # The test depends on how fast and often the host schedules the RIOT native # application. If the host is busy enough it won't schedule the process, diff --git a/tests/ztimer_periodic/Makefile.ci b/tests/sys/ztimer_periodic/Makefile.ci similarity index 100% rename from tests/ztimer_periodic/Makefile.ci rename to tests/sys/ztimer_periodic/Makefile.ci diff --git a/tests/ztimer_periodic/README.md b/tests/sys/ztimer_periodic/README.md similarity index 100% rename from tests/ztimer_periodic/README.md rename to tests/sys/ztimer_periodic/README.md diff --git a/tests/ztimer_periodic/app.config.test b/tests/sys/ztimer_periodic/app.config.test similarity index 100% rename from tests/ztimer_periodic/app.config.test rename to tests/sys/ztimer_periodic/app.config.test diff --git a/tests/ztimer_periodic/main.c b/tests/sys/ztimer_periodic/main.c similarity index 100% rename from tests/ztimer_periodic/main.c rename to tests/sys/ztimer_periodic/main.c diff --git a/tests/ztimer_periodic/tests/01-run.py b/tests/sys/ztimer_periodic/tests/01-run.py similarity index 100% rename from tests/ztimer_periodic/tests/01-run.py rename to tests/sys/ztimer_periodic/tests/01-run.py diff --git a/tests/ztimer_rmutex_lock_timeout/Makefile b/tests/sys/ztimer_rmutex_lock_timeout/Makefile similarity index 82% rename from tests/ztimer_rmutex_lock_timeout/Makefile rename to tests/sys/ztimer_rmutex_lock_timeout/Makefile index edf5ee6770..1e8238fdcc 100644 --- a/tests/ztimer_rmutex_lock_timeout/Makefile +++ b/tests/sys/ztimer_rmutex_lock_timeout/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += ztimer_usec USEMODULE += shell diff --git a/tests/ztimer_rmutex_lock_timeout/Makefile.ci b/tests/sys/ztimer_rmutex_lock_timeout/Makefile.ci similarity index 100% rename from tests/ztimer_rmutex_lock_timeout/Makefile.ci rename to tests/sys/ztimer_rmutex_lock_timeout/Makefile.ci diff --git a/tests/ztimer_rmutex_lock_timeout/app.config.test b/tests/sys/ztimer_rmutex_lock_timeout/app.config.test similarity index 100% rename from tests/ztimer_rmutex_lock_timeout/app.config.test rename to tests/sys/ztimer_rmutex_lock_timeout/app.config.test diff --git a/tests/ztimer_rmutex_lock_timeout/main.c b/tests/sys/ztimer_rmutex_lock_timeout/main.c similarity index 100% rename from tests/ztimer_rmutex_lock_timeout/main.c rename to tests/sys/ztimer_rmutex_lock_timeout/main.c diff --git a/tests/ztimer_rmutex_lock_timeout/tests/01-run.py b/tests/sys/ztimer_rmutex_lock_timeout/tests/01-run.py similarity index 100% rename from tests/ztimer_rmutex_lock_timeout/tests/01-run.py rename to tests/sys/ztimer_rmutex_lock_timeout/tests/01-run.py diff --git a/tests/ztimer_underflow/Makefile b/tests/sys/ztimer_underflow/Makefile similarity index 93% rename from tests/ztimer_underflow/Makefile rename to tests/sys/ztimer_underflow/Makefile index 32393c9e57..f837f81e30 100644 --- a/tests/ztimer_underflow/Makefile +++ b/tests/sys/ztimer_underflow/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common TEST_ZTIMER_CLOCK ?= ZTIMER_USEC diff --git a/tests/ztimer_underflow/Makefile.ci b/tests/sys/ztimer_underflow/Makefile.ci similarity index 100% rename from tests/ztimer_underflow/Makefile.ci rename to tests/sys/ztimer_underflow/Makefile.ci diff --git a/tests/ztimer_underflow/README.md b/tests/sys/ztimer_underflow/README.md similarity index 100% rename from tests/ztimer_underflow/README.md rename to tests/sys/ztimer_underflow/README.md diff --git a/tests/ztimer_underflow/app.config.msec.test b/tests/sys/ztimer_underflow/app.config.msec.test similarity index 100% rename from tests/ztimer_underflow/app.config.msec.test rename to tests/sys/ztimer_underflow/app.config.msec.test diff --git a/tests/ztimer_underflow/app.config.test b/tests/sys/ztimer_underflow/app.config.test similarity index 100% rename from tests/ztimer_underflow/app.config.test rename to tests/sys/ztimer_underflow/app.config.test diff --git a/tests/ztimer_underflow/main.c b/tests/sys/ztimer_underflow/main.c similarity index 100% rename from tests/ztimer_underflow/main.c rename to tests/sys/ztimer_underflow/main.c diff --git a/tests/ztimer_underflow/tests/01-run.py b/tests/sys/ztimer_underflow/tests/01-run.py similarity index 100% rename from tests/ztimer_underflow/tests/01-run.py rename to tests/sys/ztimer_underflow/tests/01-run.py diff --git a/tests/ztimer_xsec/Makefile b/tests/sys/ztimer_xsec/Makefile similarity index 85% rename from tests/ztimer_xsec/Makefile rename to tests/sys/ztimer_xsec/Makefile index 8709ee2154..9f931d3ca4 100644 --- a/tests/ztimer_xsec/Makefile +++ b/tests/sys/ztimer_xsec/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.sys_common USEMODULE += ztimer USEMODULE += ztimer_usec diff --git a/tests/ztimer_xsec/Makefile.ci b/tests/sys/ztimer_xsec/Makefile.ci similarity index 100% rename from tests/ztimer_xsec/Makefile.ci rename to tests/sys/ztimer_xsec/Makefile.ci diff --git a/tests/ztimer_xsec/README.md b/tests/sys/ztimer_xsec/README.md similarity index 100% rename from tests/ztimer_xsec/README.md rename to tests/sys/ztimer_xsec/README.md diff --git a/tests/ztimer_xsec/app.config.test b/tests/sys/ztimer_xsec/app.config.test similarity index 100% rename from tests/ztimer_xsec/app.config.test rename to tests/sys/ztimer_xsec/app.config.test diff --git a/tests/ztimer_xsec/main.c b/tests/sys/ztimer_xsec/main.c similarity index 100% rename from tests/ztimer_xsec/main.c rename to tests/sys/ztimer_xsec/main.c diff --git a/tests/ztimer_xsec/tests/01-run.py b/tests/sys/ztimer_xsec/tests/01-run.py similarity index 100% rename from tests/ztimer_xsec/tests/01-run.py rename to tests/sys/ztimer_xsec/tests/01-run.py diff --git a/tests/xtimer_reset/Makefile b/tests/xtimer_reset/Makefile deleted file mode 100644 index 8bff23ceea..0000000000 --- a/tests/xtimer_reset/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -include ../Makefile.tests_common - -USEMODULE += xtimer - -include $(RIOTBASE)/Makefile.include