Skip to content

Commit acdb78d

Browse files
committed
tests: refactor tests
[KRKNWK-14886] * Move critical_region test to new location * Move crypto keys test to new location * Move crypto test to new location * Move delay test to new location * Move interrupts test to new location * Move spi test to new location * Move storage test to new location * Move temperature test to new location * Move time test to new location * Add native_sim board support (not all) * Port to ztest * Remove sanity tests Signed-off-by: Krzysztof Taborowski <[email protected]> tests: move mfg storage test Tests skipped - to be rewritten Signed-off-by: Krzysztof Taborowski <[email protected]> tests: temperature tests on simulator board Use mock temperature pal when no temp sensor in dts Signed-off-by: Krzysztof Taborowski <[email protected]> tests: review to be squashed Signed-off-by: Krzysztof Taborowski <[email protected]> tests: fix tests to be sqashed Signed-off-by: Krzysztof Taborowski <[email protected]>
1 parent 0632715 commit acdb78d

File tree

89 files changed

+553
-666
lines changed

Some content is hidden

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

89 files changed

+553
-666
lines changed

subsys/sal/sid_pal/src/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ zephyr_library_sources_ifdef(CONFIG_SIDEWALK_CRITICAL_REGION sid_critical_region
5252

5353
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_GPIO sid_gpio.c sid_gpio_utils.c)
5454

55-
if(CONFIG_SOC_SERIES_NRF53X)
55+
if(CONFIG_HAS_HW_NRF_TEMP)
56+
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_TEMPERATURE sid_temperature.c)
57+
else()
5658
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_TEMPERATURE sid_temperature_mock.c)
5759
message("Note: Sidewalk uses MOCK temperature implementation")
58-
else()
59-
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_TEMPERATURE sid_temperature.c)
6060
endif() # CONFIG_SOC_SERIES_NRF53X
6161

6262
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_SW_INTERRUPTS sid_sw_interrupts.c)

tests/functional/critical_region/CMakeLists.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/functional/critical_region/prj.conf

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/functional/critical_region/src/main.c

Lines changed: 0 additions & 62 deletions
This file was deleted.

tests/functional/crypto/prj.conf

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/functional/mfg_storage/src/main.c

Lines changed: 0 additions & 196 deletions
This file was deleted.

tests/functional/mfg_storage/testcase.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

tests/functional/spi_bus/boards/nrf54l15dk_nrf54l15_cpuapp_ns.conf

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/functional/spi_bus/testcase.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)