diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index f2a356a38d..ea82167c1d 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -38,7 +38,7 @@ jobs: id: subsets run: | rm -rf twister-out* max max_sorted configuration - west twister --test-config sidewalk/test_config.yaml --testsuite-root sidewalk --level="Github_tests" --exclude-platform native_sim --exclude-platform native_posix --exclude-platform unit_testing --dry-run + west twister --test-config sidewalk/test_config.yaml --testsuite-root sidewalk --level="Github_tests" --exclude-platform native_sim --exclude-platform unit_testing --dry-run total_platforms=$(jq -r '.testsuites |map({platform: .platform}) | unique | .[].platform' twister-out/testplan.json) total_platforms_json=$(printf '%s' "${total_platforms[@]}" | jq -R . | jq -s -c .) echo "{}" > configuration @@ -103,7 +103,7 @@ jobs: - name: Twister build and run x86 tests run: | source zephyr/zephyr-env.sh - west twister --test-config sidewalk/test_config.yaml --level="Github_tests" --testsuite-root sidewalk --platform native_sim --platform native_posix --platform unit_testing --coverage --coverage-basedir sidewalk --coverage-formats html,xml --enable-ubsan --enable-lsan --enable-asan --inline-logs --overflow-as-errors -vvv + west twister --test-config sidewalk/test_config.yaml --level="Github_tests" --testsuite-root sidewalk --platform native_sim --platform unit_testing --coverage --coverage-basedir sidewalk --coverage-formats html,xml --enable-ubsan --enable-lsan --enable-asan --inline-logs --overflow-as-errors -vvv - name: Upload test results uses: actions/upload-artifact@v4 diff --git a/tests/unit_tests/mfg_parsers/src/mfg_parser.c b/tests/unit_tests/mfg_parsers/src/mfg_parser.c index 7764419aa9..fa983e1661 100644 --- a/tests/unit_tests/mfg_parsers/src/mfg_parser.c +++ b/tests/unit_tests/mfg_parsers/src/mfg_parser.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -#if CONFIG_BOARD_NATIVE_POSIX +#if CONFIG_BOARD_NATIVE_SIM #define FIXED_PARTITION_OFFSET(x) 0xFF000 #else #include "flash_map_pm.h" diff --git a/tests/unit_tests/mfg_parsers/testcase.yaml b/tests/unit_tests/mfg_parsers/testcase.yaml index 90ad5e0bca..5cac33bf66 100644 --- a/tests/unit_tests/mfg_parsers/testcase.yaml +++ b/tests/unit_tests/mfg_parsers/testcase.yaml @@ -2,14 +2,14 @@ tests: sidewalk.test.unit.mfg_parser: sysbuild: true platform_allow: - - native_posix + - native_sim - nrf52840dk/nrf52840 - nrf5340dk/nrf5340/cpuapp - nrf54l15dk/nrf54l15/cpuapp - nrf54l15dk/nrf54l10/cpuapp tags: Sidewalk integration_platforms: - - native_posix + - native_sim - nrf52840dk/nrf52840 - nrf5340dk/nrf5340/cpuapp - nrf54l15dk/nrf54l15/cpuapp @@ -17,9 +17,9 @@ tests: sidewalk.test.unit.mfg_parser_psa_storage: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim extra_configs: - CONFIG_SIDEWALK_CRYPTO_PSA_KEY_STORAGE=y diff --git a/tests/unit_tests/pal_ble_adapter/testcase.yaml b/tests/unit_tests/pal_ble_adapter/testcase.yaml index 3b166b2e31..fd28b28f19 100644 --- a/tests/unit_tests/pal_ble_adapter/testcase.yaml +++ b/tests/unit_tests/pal_ble_adapter/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.ble_adapter: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/pal_crypto/testcase.yaml b/tests/unit_tests/pal_crypto/testcase.yaml index 047a2dca7e..0b9d483c61 100644 --- a/tests/unit_tests/pal_crypto/testcase.yaml +++ b/tests/unit_tests/pal_crypto/testcase.yaml @@ -2,6 +2,6 @@ tests: sidewalk.test.unit.crypto: sysbuild: true tags: Sidewalk - platform_allow: native_posix + platform_allow: native_sim integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/pal_log/testcase.yaml b/tests/unit_tests/pal_log/testcase.yaml index a25a782494..11b90212df 100644 --- a/tests/unit_tests/pal_log/testcase.yaml +++ b/tests/unit_tests/pal_log/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.log: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/pal_mfg_storage/testcase.yaml b/tests/unit_tests/pal_mfg_storage/testcase.yaml index 18224e148e..c6eee907fb 100644 --- a/tests/unit_tests/pal_mfg_storage/testcase.yaml +++ b/tests/unit_tests/pal_mfg_storage/testcase.yaml @@ -2,7 +2,7 @@ tests: sidewalk.test.unit.mfg_storage: skip: true sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/pal_storage_kv/testcase.yaml b/tests/unit_tests/pal_storage_kv/testcase.yaml index 4bbf9ee61e..023a6da175 100644 --- a/tests/unit_tests/pal_storage_kv/testcase.yaml +++ b/tests/unit_tests/pal_storage_kv/testcase.yaml @@ -1,17 +1,17 @@ tests: sidewalk.test.unit.storage_kv.NVS: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim sidewalk.test.unit.storage_kv.ZMS: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim extra_configs: - CONFIG_NVS=n - CONFIG_SETTINGS_NVS=n diff --git a/tests/unit_tests/pal_temperature/testcase.yaml b/tests/unit_tests/pal_temperature/testcase.yaml index 9d01274deb..b39019b309 100644 --- a/tests/unit_tests/pal_temperature/testcase.yaml +++ b/tests/unit_tests/pal_temperature/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.temperature: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/pal_timer/testcase.yaml b/tests/unit_tests/pal_timer/testcase.yaml index 94f18f9c5a..4753c84d95 100644 --- a/tests/unit_tests/pal_timer/testcase.yaml +++ b/tests/unit_tests/pal_timer/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.timer: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/pal_uptime/testcase.yaml b/tests/unit_tests/pal_uptime/testcase.yaml index 1d45c4c52f..e634b4a8d6 100644 --- a/tests/unit_tests/pal_uptime/testcase.yaml +++ b/tests/unit_tests/pal_uptime/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.uptime: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/sid_ace_alloc/testcase.yaml b/tests/unit_tests/sid_ace_alloc/testcase.yaml index e90d99b1c7..d1675dd88a 100644 --- a/tests/unit_tests/sid_ace_alloc/testcase.yaml +++ b/tests/unit_tests/sid_ace_alloc/testcase.yaml @@ -4,12 +4,12 @@ tests: platform_allow: - nrf52840dk/nrf52840 - nrf5340dk/nrf5340/cpuapp - - native_posix + - native_sim - nrf54l15dk/nrf54l15/cpuapp - nrf54l15dk/nrf54l10/cpuapp tags: Sidewalk integration_platforms: - - native_posix + - native_sim - nrf52840dk/nrf52840 - nrf54l15dk/nrf54l15/cpuapp - nrf54l15dk/nrf54l10/cpuapp diff --git a/tests/unit_tests/sid_ble_adapter_callbacks/testcase.yaml b/tests/unit_tests/sid_ble_adapter_callbacks/testcase.yaml index 186037e2f4..f70f8f3595 100644 --- a/tests/unit_tests/sid_ble_adapter_callbacks/testcase.yaml +++ b/tests/unit_tests/sid_ble_adapter_callbacks/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.ble_adapter_callbacks: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/sid_ble_advert/testcase.yaml b/tests/unit_tests/sid_ble_advert/testcase.yaml index c16bb8191b..535e6daf10 100644 --- a/tests/unit_tests/sid_ble_advert/testcase.yaml +++ b/tests/unit_tests/sid_ble_advert/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.ble_advertising: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/sid_ble_connection/testcase.yaml b/tests/unit_tests/sid_ble_connection/testcase.yaml index a68ddb0f84..c153de33a7 100644 --- a/tests/unit_tests/sid_ble_connection/testcase.yaml +++ b/tests/unit_tests/sid_ble_connection/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.ble_connection: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/sid_ble_service/testcase.yaml b/tests/unit_tests/sid_ble_service/testcase.yaml index 6efbe9b6b0..3abc43cdd2 100644 --- a/tests/unit_tests/sid_ble_service/testcase.yaml +++ b/tests/unit_tests/sid_ble_service/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.sid_ble_service: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/sid_pal_gpio/testcase.yaml b/tests/unit_tests/sid_pal_gpio/testcase.yaml index 34615a6385..a60254ca78 100644 --- a/tests/unit_tests/sid_pal_gpio/testcase.yaml +++ b/tests/unit_tests/sid_pal_gpio/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.gpio: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/tests/unit_tests/tlv/testcase.yaml b/tests/unit_tests/tlv/testcase.yaml index b50175420b..c061178e07 100644 --- a/tests/unit_tests/tlv/testcase.yaml +++ b/tests/unit_tests/tlv/testcase.yaml @@ -1,7 +1,7 @@ tests: sidewalk.test.unit.tlv: sysbuild: true - platform_allow: native_posix + platform_allow: native_sim tags: Sidewalk integration_platforms: - - native_posix + - native_sim diff --git a/west.yml b/west.yml index 529ad4d6d8..67059f707e 100644 --- a/west.yml +++ b/west.yml @@ -13,7 +13,7 @@ manifest: - name: nrf remote: ncs repo-path: sdk-nrf - revision: v3.0.0 + revision: 1cee1ccc3b1833dcbfad9aeb5166e2349b69e788 import: true self: