File tree 5 files changed +14
-8
lines changed
src/platform/silabs/tests
5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 52
52
- name : Checkout submodules & Bootstrap
53
53
uses : ./.github/actions/checkout-submodules-and-bootstrap
54
54
with :
55
- platform : linux
55
+ platform : linux unit_tests
56
56
bootstrap-log-name : bootstrap-logs-unittest-${{ matrix.type }}
57
57
- name : Artifact suffix
58
58
id : outsuffix
@@ -66,11 +66,11 @@ jobs:
66
66
# TODO: If rotating_device_id is ever removed/combined, we have to cover boringssl otherwise
67
67
run : |
68
68
case $BUILD_TYPE in
69
- "main") GN_ARGS='';;
70
- "clang") GN_ARGS='is_clang=true';;
71
- "mbedtls") GN_ARGS='chip_crypto="mbedtls"';;
72
- "rotating_device_id") GN_ARGS='chip_crypto="boringssl" chip_enable_rotating_device_id=true';;
73
- "icd") GN_ARGS='chip_enable_icd_server=true chip_enable_icd_lit=true';;
69
+ "main") GN_ARGS='chip_build_all_platform_tests=true ';;
70
+ "clang") GN_ARGS='is_clang=true chip_build_all_platform_tests=true ';;
71
+ "mbedtls") GN_ARGS='chip_crypto="mbedtls" chip_build_all_platform_tests=true ';;
72
+ "rotating_device_id") GN_ARGS='chip_crypto="boringssl" chip_enable_rotating_device_id=true chip_build_all_platform_tests=true ';;
73
+ "icd") GN_ARGS='chip_enable_icd_server=true chip_enable_icd_lit=true chip_build_all_platform_tests=true ';;
74
74
*) ;;
75
75
esac
76
76
Original file line number Diff line number Diff line change 209
209
path = third_party/silabs/matter_support
210
210
url = https://github.com/SiliconLabsSoftware/matter_support.git
211
211
branch = main
212
- platforms = silabs,silabs_docker
212
+ platforms = silabs,silabs_docker,unit_tests
213
213
[submodule "third_party/silabs/simplicity_sdk "]
214
214
path = third_party/silabs/simplicity_sdk
215
215
url = https://github.com/SiliconLabs/simplicity_sdk.git
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ declare_args() {
27
27
# Enable building tests.
28
28
chip_build_tests = current_os != " freertos"
29
29
30
+ # Enable building all platform specific tests.
31
+ # This argument should set the default value for platform specific tests build arguments.
32
+ # See src/platform/silabs/tests/args.gni as an example.
33
+ chip_build_all_platform_tests = false
34
+
30
35
# Enabling useful support functions when building using GoogleTest framework (used in unit tests and pw_fuzzer FuzzTests)
31
36
# For unit tests: this should only be enabled through build_examples.py, see PR #36268
32
37
chip_build_tests_googletest = false
Original file line number Diff line number Diff line change 51
51
'genio' ,
52
52
'openiotsdk' ,
53
53
'silabs_docker' ,
54
+ 'unit_tests'
54
55
])
55
56
56
57
Module = namedtuple ('Module' , 'name path platforms recursive' )
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ import("//build/chip/tests.gni")
16
16
17
17
declare_args () {
18
18
# Build argument to enable Silabs specific unit tests
19
- sl_build_unit_tests = chip_build_tests
19
+ sl_build_unit_tests = chip_build_all_platform_tests
20
20
}
You can’t perform that action at this time.
0 commit comments