From aebbd015bb90a94fe8bf7953b5c3abf08efa405a Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 10 May 2023 11:58:26 +0200 Subject: [PATCH] tests: move remaining driver related applications to tests/drivers --- tests/{ => drivers}/disp_dev/Makefile | 2 +- tests/{ => drivers}/disp_dev/Makefile.ci | 0 tests/{ => drivers}/disp_dev/app.config.test | 0 tests/{ => drivers}/disp_dev/main.c | 0 tests/{ => drivers}/mtd_at24cxxx/Makefile | 2 +- tests/{ => drivers}/mtd_at24cxxx/main.c | 0 tests/{ => drivers}/mtd_at25xxx/Makefile | 2 +- tests/{ => drivers}/mtd_at25xxx/main.c | 0 tests/{ => drivers}/mtd_flashpage/Makefile | 2 +- tests/{ => drivers}/mtd_flashpage/app.config.test | 0 tests/{ => drivers}/mtd_flashpage/main.c | 0 tests/{ => drivers}/mtd_flashpage/tests/01-run.py | 0 tests/{ => drivers}/mtd_mapper/Makefile | 2 +- tests/{ => drivers}/mtd_mapper/Makefile.ci | 0 tests/{ => drivers}/mtd_mapper/app.config.test | 0 tests/{ => drivers}/mtd_mapper/main.c | 0 tests/{ => drivers}/mtd_mapper/tests/01-run.py | 0 tests/{ => drivers}/mtd_raw/Makefile | 2 +- tests/{ => drivers}/mtd_raw/Makefile.ci | 0 tests/{ => drivers}/mtd_raw/app.config.test | 0 tests/{ => drivers}/mtd_raw/main.c | 0 tests/{ => drivers}/mtd_raw/tests/01-run.py | 0 tests/{ => drivers}/saul/Makefile | 2 +- tests/{ => drivers}/saul/README.md | 0 tests/{ => drivers}/saul/app.config.test | 0 tests/{ => drivers}/saul/main.c | 0 tests/{ => drivers}/saul_drivers/Makefile | 2 +- tests/{ => drivers}/saul_drivers/README.md | 0 tests/{ => drivers}/saul_drivers/main.c | 0 tests/{ => drivers}/touch_dev/Makefile | 2 +- tests/{ => drivers}/touch_dev/app.config.test | 0 tests/{ => drivers}/touch_dev/main.c | 0 32 files changed, 9 insertions(+), 9 deletions(-) rename tests/{ => drivers}/disp_dev/Makefile (90%) rename tests/{ => drivers}/disp_dev/Makefile.ci (100%) rename tests/{ => drivers}/disp_dev/app.config.test (100%) rename tests/{ => drivers}/disp_dev/main.c (100%) rename tests/{ => drivers}/mtd_at24cxxx/Makefile (75%) rename tests/{ => drivers}/mtd_at24cxxx/main.c (100%) rename tests/{ => drivers}/mtd_at25xxx/Makefile (70%) rename tests/{ => drivers}/mtd_at25xxx/main.c (100%) rename tests/{ => drivers}/mtd_flashpage/Makefile (76%) rename tests/{ => drivers}/mtd_flashpage/app.config.test (100%) rename tests/{ => drivers}/mtd_flashpage/main.c (100%) rename tests/{ => drivers}/mtd_flashpage/tests/01-run.py (100%) rename tests/{ => drivers}/mtd_mapper/Makefile (76%) rename tests/{ => drivers}/mtd_mapper/Makefile.ci (100%) rename tests/{ => drivers}/mtd_mapper/app.config.test (100%) rename tests/{ => drivers}/mtd_mapper/main.c (100%) rename tests/{ => drivers}/mtd_mapper/tests/01-run.py (100%) rename tests/{ => drivers}/mtd_raw/Makefile (91%) rename tests/{ => drivers}/mtd_raw/Makefile.ci (100%) rename tests/{ => drivers}/mtd_raw/app.config.test (100%) rename tests/{ => drivers}/mtd_raw/main.c (100%) rename tests/{ => drivers}/mtd_raw/tests/01-run.py (100%) rename tests/{ => drivers}/saul/Makefile (79%) rename tests/{ => drivers}/saul/README.md (100%) rename tests/{ => drivers}/saul/app.config.test (100%) rename tests/{ => drivers}/saul/main.c (100%) rename tests/{ => drivers}/saul_drivers/Makefile (97%) rename tests/{ => drivers}/saul_drivers/README.md (100%) rename tests/{ => drivers}/saul_drivers/main.c (100%) rename tests/{ => drivers}/touch_dev/Makefile (83%) rename tests/{ => drivers}/touch_dev/app.config.test (100%) rename tests/{ => drivers}/touch_dev/main.c (100%) diff --git a/tests/disp_dev/Makefile b/tests/drivers/disp_dev/Makefile similarity index 90% rename from tests/disp_dev/Makefile rename to tests/drivers/disp_dev/Makefile index c21712b2c59c..ec6a6c165ba1 100644 --- a/tests/disp_dev/Makefile +++ b/tests/drivers/disp_dev/Makefile @@ -1,5 +1,5 @@ BOARD ?= stm32f429i-disc1 -include ../Makefile.tests_common +include ../Makefile.drivers_common DISABLE_MODULE += test_utils_interactive_sync diff --git a/tests/disp_dev/Makefile.ci b/tests/drivers/disp_dev/Makefile.ci similarity index 100% rename from tests/disp_dev/Makefile.ci rename to tests/drivers/disp_dev/Makefile.ci diff --git a/tests/disp_dev/app.config.test b/tests/drivers/disp_dev/app.config.test similarity index 100% rename from tests/disp_dev/app.config.test rename to tests/drivers/disp_dev/app.config.test diff --git a/tests/disp_dev/main.c b/tests/drivers/disp_dev/main.c similarity index 100% rename from tests/disp_dev/main.c rename to tests/drivers/disp_dev/main.c diff --git a/tests/mtd_at24cxxx/Makefile b/tests/drivers/mtd_at24cxxx/Makefile similarity index 75% rename from tests/mtd_at24cxxx/Makefile rename to tests/drivers/mtd_at24cxxx/Makefile index 3dcadaffb85a..83e3f85d0da4 100644 --- a/tests/mtd_at24cxxx/Makefile +++ b/tests/drivers/mtd_at24cxxx/Makefile @@ -1,6 +1,6 @@ BOARD ?= nucleo-f767zi -include ../Makefile.tests_common +include ../Makefile.drivers_common USEMODULE += mtd_at24cxxx USEMODULE += embunit diff --git a/tests/mtd_at24cxxx/main.c b/tests/drivers/mtd_at24cxxx/main.c similarity index 100% rename from tests/mtd_at24cxxx/main.c rename to tests/drivers/mtd_at24cxxx/main.c diff --git a/tests/mtd_at25xxx/Makefile b/tests/drivers/mtd_at25xxx/Makefile similarity index 70% rename from tests/mtd_at25xxx/Makefile rename to tests/drivers/mtd_at25xxx/Makefile index 2f61c782effb..73d7dedb2626 100644 --- a/tests/mtd_at25xxx/Makefile +++ b/tests/drivers/mtd_at25xxx/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.drivers_common USEMODULE += mtd_at25xxx USEMODULE += embunit diff --git a/tests/mtd_at25xxx/main.c b/tests/drivers/mtd_at25xxx/main.c similarity index 100% rename from tests/mtd_at25xxx/main.c rename to tests/drivers/mtd_at25xxx/main.c diff --git a/tests/mtd_flashpage/Makefile b/tests/drivers/mtd_flashpage/Makefile similarity index 76% rename from tests/mtd_flashpage/Makefile rename to tests/drivers/mtd_flashpage/Makefile index ed285b46f21f..fc32dba0f458 100644 --- a/tests/mtd_flashpage/Makefile +++ b/tests/drivers/mtd_flashpage/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.drivers_common USEMODULE += mtd_flashpage USEMODULE += mtd_write_page diff --git a/tests/mtd_flashpage/app.config.test b/tests/drivers/mtd_flashpage/app.config.test similarity index 100% rename from tests/mtd_flashpage/app.config.test rename to tests/drivers/mtd_flashpage/app.config.test diff --git a/tests/mtd_flashpage/main.c b/tests/drivers/mtd_flashpage/main.c similarity index 100% rename from tests/mtd_flashpage/main.c rename to tests/drivers/mtd_flashpage/main.c diff --git a/tests/mtd_flashpage/tests/01-run.py b/tests/drivers/mtd_flashpage/tests/01-run.py similarity index 100% rename from tests/mtd_flashpage/tests/01-run.py rename to tests/drivers/mtd_flashpage/tests/01-run.py diff --git a/tests/mtd_mapper/Makefile b/tests/drivers/mtd_mapper/Makefile similarity index 76% rename from tests/mtd_mapper/Makefile rename to tests/drivers/mtd_mapper/Makefile index aa84efe04b97..ee8292d7173b 100644 --- a/tests/mtd_mapper/Makefile +++ b/tests/drivers/mtd_mapper/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.drivers_common USEMODULE += mtd_mapper USEMODULE += mtd_write_page diff --git a/tests/mtd_mapper/Makefile.ci b/tests/drivers/mtd_mapper/Makefile.ci similarity index 100% rename from tests/mtd_mapper/Makefile.ci rename to tests/drivers/mtd_mapper/Makefile.ci diff --git a/tests/mtd_mapper/app.config.test b/tests/drivers/mtd_mapper/app.config.test similarity index 100% rename from tests/mtd_mapper/app.config.test rename to tests/drivers/mtd_mapper/app.config.test diff --git a/tests/mtd_mapper/main.c b/tests/drivers/mtd_mapper/main.c similarity index 100% rename from tests/mtd_mapper/main.c rename to tests/drivers/mtd_mapper/main.c diff --git a/tests/mtd_mapper/tests/01-run.py b/tests/drivers/mtd_mapper/tests/01-run.py similarity index 100% rename from tests/mtd_mapper/tests/01-run.py rename to tests/drivers/mtd_mapper/tests/01-run.py diff --git a/tests/mtd_raw/Makefile b/tests/drivers/mtd_raw/Makefile similarity index 91% rename from tests/mtd_raw/Makefile rename to tests/drivers/mtd_raw/Makefile index 812022b2008b..b8efa79003df 100644 --- a/tests/mtd_raw/Makefile +++ b/tests/drivers/mtd_raw/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.drivers_common USEMODULE += shell USEMODULE += shell_cmds_default diff --git a/tests/mtd_raw/Makefile.ci b/tests/drivers/mtd_raw/Makefile.ci similarity index 100% rename from tests/mtd_raw/Makefile.ci rename to tests/drivers/mtd_raw/Makefile.ci diff --git a/tests/mtd_raw/app.config.test b/tests/drivers/mtd_raw/app.config.test similarity index 100% rename from tests/mtd_raw/app.config.test rename to tests/drivers/mtd_raw/app.config.test diff --git a/tests/mtd_raw/main.c b/tests/drivers/mtd_raw/main.c similarity index 100% rename from tests/mtd_raw/main.c rename to tests/drivers/mtd_raw/main.c diff --git a/tests/mtd_raw/tests/01-run.py b/tests/drivers/mtd_raw/tests/01-run.py similarity index 100% rename from tests/mtd_raw/tests/01-run.py rename to tests/drivers/mtd_raw/tests/01-run.py diff --git a/tests/saul/Makefile b/tests/drivers/saul/Makefile similarity index 79% rename from tests/saul/Makefile rename to tests/drivers/saul/Makefile index 7901e3d3181e..a7447f1e3ad9 100644 --- a/tests/saul/Makefile +++ b/tests/drivers/saul/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.drivers_common # include and auto-initialize all available sensors USEMODULE += saul_default diff --git a/tests/saul/README.md b/tests/drivers/saul/README.md similarity index 100% rename from tests/saul/README.md rename to tests/drivers/saul/README.md diff --git a/tests/saul/app.config.test b/tests/drivers/saul/app.config.test similarity index 100% rename from tests/saul/app.config.test rename to tests/drivers/saul/app.config.test diff --git a/tests/saul/main.c b/tests/drivers/saul/main.c similarity index 100% rename from tests/saul/main.c rename to tests/drivers/saul/main.c diff --git a/tests/saul_drivers/Makefile b/tests/drivers/saul_drivers/Makefile similarity index 97% rename from tests/saul_drivers/Makefile rename to tests/drivers/saul_drivers/Makefile index d2ec814baf86..545255c8e781 100644 --- a/tests/saul_drivers/Makefile +++ b/tests/drivers/saul_drivers/Makefile @@ -1,5 +1,5 @@ BOARD ?= stm32f4discovery -include ../Makefile.tests_common +include ../Makefile.drivers_common # Only build on a subset of boards (one per arch supported and # with enough features provided) diff --git a/tests/saul_drivers/README.md b/tests/drivers/saul_drivers/README.md similarity index 100% rename from tests/saul_drivers/README.md rename to tests/drivers/saul_drivers/README.md diff --git a/tests/saul_drivers/main.c b/tests/drivers/saul_drivers/main.c similarity index 100% rename from tests/saul_drivers/main.c rename to tests/drivers/saul_drivers/main.c diff --git a/tests/touch_dev/Makefile b/tests/drivers/touch_dev/Makefile similarity index 83% rename from tests/touch_dev/Makefile rename to tests/drivers/touch_dev/Makefile index 442d00ef91a0..f211fdc689f0 100644 --- a/tests/touch_dev/Makefile +++ b/tests/drivers/touch_dev/Makefile @@ -1,5 +1,5 @@ BOARD ?= stm32f429i-disc1 -include ../Makefile.tests_common +include ../Makefile.drivers_common DISABLE_MODULE += test_utils_interactive_sync diff --git a/tests/touch_dev/app.config.test b/tests/drivers/touch_dev/app.config.test similarity index 100% rename from tests/touch_dev/app.config.test rename to tests/drivers/touch_dev/app.config.test diff --git a/tests/touch_dev/main.c b/tests/drivers/touch_dev/main.c similarity index 100% rename from tests/touch_dev/main.c rename to tests/drivers/touch_dev/main.c