Skip to content

Commit a877bb1

Browse files
committed
[DNM] toranj
1 parent d75c7c8 commit a877bb1

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

.github/workflows/toranj.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ jobs:
165165
./tests/toranj/build.sh posix-15.4+trel
166166
git clean -dfx
167167
./tests/toranj/build.sh posix-trel
168-
git clean -dfx
169-
./tests/toranj/build.sh --enable-plat-key-ref all
170168
171169
toranj-macos:
172170
name: toranj-macos

tests/toranj/build.sh

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ display_usage()
5151
echo ""
5252
echo "Options:"
5353
echo " -c/--enable-coverage Enable code coverage"
54-
echo " -k/--enable-plat-key-ref Enable OT_PLATFORM_KEY_REF"
5554
echo ""
5655
}
5756

@@ -65,7 +64,6 @@ cd "$(dirname "$0")" || die "cd failed"
6564
cd ../.. || die "cd failed"
6665

6766
ot_coverage=OFF
68-
ot_plat_key_ref=OFF
6967

7068
while [ $# -ge 2 ]; do
7169
case $1 in
@@ -76,10 +74,6 @@ while [ $# -ge 2 ]; do
7674
-t | --enable-tests)
7775
shift
7876
;;
79-
-k | --enable-plat-key-ref)
80-
ot_plat_key_ref=ON
81-
shift
82-
;;
8377
"")
8478
shift
8579
;;
@@ -114,8 +108,7 @@ case ${build_config} in
114108
cd "${top_builddir}" || die "cd failed"
115109
cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
116110
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
117-
-DOT_OPERATIONAL_DATASET_AUTO_INIT=ON -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
118-
-DOT_BORDER_ROUTING=OFF \
111+
-DOT_OPERATIONAL_DATASET_AUTO_INIT=ON -DOT_BORDER_ROUTING=OFF \
119112
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
120113
"${top_srcdir}" || die
121114
ninja || die
@@ -130,7 +123,6 @@ case ${build_config} in
130123
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
131124
-DOT_15_4=ON -DOT_TREL=OFF -DOT_OPERATIONAL_DATASET_AUTO_INIT=ON \
132125
-DOT_BORDER_ROUTING=OFF \
133-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
134126
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
135127
"${top_srcdir}" || die
136128
ninja || die
@@ -146,7 +138,6 @@ case ${build_config} in
146138
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
147139
-DOT_15_4=OFF -DOT_TREL=ON -DOT_OPERATIONAL_DATASET_AUTO_INIT=ON \
148140
-DOT_BORDER_ROUTING=OFF \
149-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
150141
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
151142
"${top_srcdir}" || die
152143
ninja || die
@@ -162,7 +153,6 @@ case ${build_config} in
162153
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
163154
-DOT_15_4=ON -DOT_TREL=ON -DOT_OPERATIONAL_DATASET_AUTO_INIT=ON \
164155
-DOT_BORDER_ROUTING=OFF \
165-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
166156
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
167157
"${top_srcdir}" || die
168158
ninja || die
@@ -176,7 +166,6 @@ case ${build_config} in
176166
cd "${top_builddir}" || die "cd failed"
177167
cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
178168
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
179-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
180169
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
181170
"${top_srcdir}" || die
182171
ninja || die
@@ -190,7 +179,6 @@ case ${build_config} in
190179
cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
191180
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
192181
-DOT_15_4=ON -DOT_TREL=OFF \
193-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
194182
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
195183
"${top_srcdir}" || die
196184
ninja || die
@@ -205,7 +193,6 @@ case ${build_config} in
205193
cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
206194
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
207195
-DOT_15_4=OFF -DOT_TREL=ON \
208-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
209196
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
210197
"${top_srcdir}" || die
211198
ninja || die
@@ -220,7 +207,6 @@ case ${build_config} in
220207
cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
221208
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
222209
-DOT_15_4=ON -DOT_TREL=ON \
223-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
224210
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
225211
"${top_srcdir}" || die
226212
ninja || die
@@ -234,7 +220,6 @@ case ${build_config} in
234220
cd "${top_builddir}" || die "cd failed"
235221
cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
236222
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=OFF -DOT_APP_RCP=ON \
237-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
238223
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
239224
"${top_srcdir}" || die
240225
ninja || die
@@ -247,7 +232,6 @@ case ${build_config} in
247232
cd "${top_builddir}" || die "cd failed"
248233
cmake -GNinja -DOT_PLATFORM=posix -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
249234
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
250-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
251235
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
252236
"${top_srcdir}" || die
253237
ninja || die
@@ -261,7 +245,6 @@ case ${build_config} in
261245
cmake -GNinja -DOT_PLATFORM=posix -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
262246
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
263247
-DOT_15_4=ON -DOT_TREL=OFF \
264-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
265248
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
266249
"${top_srcdir}" || die
267250
ninja || die
@@ -275,7 +258,6 @@ case ${build_config} in
275258
cmake -GNinja -DOT_PLATFORM=posix -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
276259
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
277260
-DOT_15_4=OFF -DOT_TREL=ON \
278-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
279261
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
280262
"${top_srcdir}" || die
281263
ninja || die
@@ -289,7 +271,6 @@ case ${build_config} in
289271
cmake -GNinja -DOT_PLATFORM=posix -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
290272
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
291273
-DOT_15_4=ON -DOT_TREL=ON \
292-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
293274
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
294275
"${top_srcdir}" || die
295276
ninja || die
@@ -302,7 +283,6 @@ case ${build_config} in
302283
cd "${top_builddir}" || die "cd failed"
303284
cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
304285
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=ON \
305-
-DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
306286
-DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
307287
"${top_srcdir}" || die
308288
ninja || die

0 commit comments

Comments
 (0)