Skip to content

Commit ba2b49c

Browse files
tests: refactor folder structure to split unit tests and system tests
Place unit tests in unit folder, and system tests in system folder. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent 3e48705 commit ba2b49c

File tree

104 files changed

+35
-35
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+35
-35
lines changed

.github/test-spec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- "scripts/**/*"
1818
- "subsys/**/*"
1919
- "sysbuild/**/*"
20-
- "tests/**/*"
20+
- "tests/system/**/*"
2121
- "zephyr/**/*"
2222
- "CMakeLists.txt"
2323
- "Jenkinsfile"
@@ -42,7 +42,7 @@
4242
- "scripts/generate_metadata.py"
4343
- "subsys/**/*"
4444
- "sysbuild/**/*"
45-
- "tests/subsys/kmu/**/*"
45+
- "tests/system/subsys/kmu/**/*"
4646
- "west.yml"
4747

4848
"CI-nfc-test":

CODEOWNERS

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -99,20 +99,20 @@
9999
/sysbuild/ @nrfconnect/ncs-co-build-system
100100

101101
# Tests
102-
/tests/lib/ @nrfconnect/ncs-bm
103-
/tests/lib/bluetooth/ble_adv/ @nrfconnect/ncs-bm-test
104-
/tests/lib/bluetooth/ble_conn_params/ @nrfconnect/ncs-bm
105-
/tests/lib/bluetooth/ble_conn_state/ @nrfconnect/ncs-bm
106-
/tests/lib/bluetooth/ble_gq/ @nrfconnect/ncs-bm
107-
/tests/lib/bluetooth/ble_db_discovery/ @nrfconnect/ncs-bm
108-
/tests/lib/bluetooth/ble_qwr/ @nrfconnect/ncs-bm
109-
/tests/lib/bluetooth/ble_racp/ @nrfconnect/ncs-bm
110-
/tests/lib/bluetooth/ble_radio_notif/ @nrfconnect/ncs-bm
111-
/tests/lib/bluetooth/ble_scan/ @nrfconnect/ncs-bm
112-
/tests/subsys/bluetooth/services/ @nrfconnect/ncs-bm @nrfconnect/ncs-bm-test
113-
/tests/subsys/fs/bm_zms/ @nrfconnect/ncs-bm @rghaddab
114-
/tests/subsys/kmu/ @nrfconnect/ncs-eris
115-
/tests/subsys/storage/bm_storage/ @nrfconnect/ncs-bm
102+
/tests/unit/lib/ @nrfconnect/ncs-bm
103+
/tests/unit/lib/bluetooth/ble_adv/ @nrfconnect/ncs-bm-test
104+
/tests/unit/lib/bluetooth/ble_conn_params/ @nrfconnect/ncs-bm
105+
/tests/unit/lib/bluetooth/ble_conn_state/ @nrfconnect/ncs-bm
106+
/tests/unit/lib/bluetooth/ble_gq/ @nrfconnect/ncs-bm
107+
/tests/unit/lib/bluetooth/ble_db_discovery/ @nrfconnect/ncs-bm
108+
/tests/unit/lib/bluetooth/ble_qwr/ @nrfconnect/ncs-bm
109+
/tests/unit/lib/bluetooth/ble_racp/ @nrfconnect/ncs-bm
110+
/tests/unit/lib/bluetooth/ble_radio_notif/ @nrfconnect/ncs-bm
111+
/tests/unit/lib/bluetooth/ble_scan/ @nrfconnect/ncs-bm
112+
/tests/unit/subsys/bluetooth/services/ @nrfconnect/ncs-bm @nrfconnect/ncs-bm-test
113+
/tests/unit/subsys/storage/bm_storage/ @nrfconnect/ncs-bm
114+
/tests/system/subsys/fs/bm_zms/ @nrfconnect/ncs-bm @rghaddab
115+
/tests/system/subsys/kmu/ @nrfconnect/ncs-eris
116116

117117
# Zephyr module
118118
/zephyr/ @nrfconnect/ncs-co-build-system

scripts/ci/license_allow_list.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ Apache-2.0: |
6262
^nrf-bm/subsys/mgmt/mcumgr/transport/src/smp_uart.c
6363
^nrf-bm/subsys/fs/bm_zms/
6464
^nrf-bm/include/bm/fs/bm_zms.h
65-
^nrf-bm/tests/subsys/fs/bm_zms/
65+
^nrf-bm/tests/system/subsys/fs/bm_zms/
6666
^nrf-bm/.ruff.toml

scripts/pytest_plugins/README.md

Lines changed: 1 addition & 1 deletion
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)