Skip to content

Commit d29f2d5

Browse files
aescolarfabiobaltieri
authored andcommitted
tests/bsim/bluetooth/audio_samples: Error on warnings
Do not override the cmake_args parameter, but instead use the cmake_extra_args one. Otherwise we lose the default -DCONFIG_COMPILER_WARNINGS_AS_ERRORS=y Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 1460ef4 commit d29f2d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/bsim/bluetooth/audio_samples/compile.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ if [ "${BOARD_TS}" == "nrf5340bsim_nrf5340_cpuapp" ]; then
2424
exe_name=bs_${BOARD_TS}_${app}_prj_conf sysbuild=1 compile
2525
app=tests/bsim/bluetooth/audio_samples/cap/initiator \
2626
sample=${ZEPHYR_BASE}/samples/bluetooth/cap_initiator \
27-
cmake_args="-DCONFIG_SAMPLE_UNICAST=n" \
27+
cmake_extra_args="-DCONFIG_SAMPLE_UNICAST=n" \
2828
conf_file=${sample}/prj.conf \
2929
conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
3030
exe_name=bs_${BOARD_TS}_${app}_broadcast_prj_conf sysbuild=1 compile
3131
app=tests/bsim/bluetooth/audio_samples/cap/acceptor \
3232
sample=${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor \
33-
cmake_args="-DCONFIG_SAMPLE_SCAN_SELF=y -DCONFIG_SAMPLE_UNICAST=n" \
33+
cmake_extra_args="-DCONFIG_SAMPLE_SCAN_SELF=y -DCONFIG_SAMPLE_UNICAST=n" \
3434
conf_file=${sample}/prj.conf \
3535
conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
3636
exe_name=bs_${BOARD_TS}_${app}_broadcast_prj_conf sysbuild=1 compile
@@ -60,13 +60,13 @@ else
6060
exe_name=bs_${BOARD_TS}_${app}_prj_conf sysbuild=1 compile
6161
app=tests/bsim/bluetooth/audio_samples/cap/initiator \
6262
sample=${ZEPHYR_BASE}/samples/bluetooth/cap_initiator \
63-
cmake_args="-DCONFIG_SAMPLE_UNICAST=n" \
63+
cmake_extra_args="-DCONFIG_SAMPLE_UNICAST=n" \
6464
conf_file=${sample}/prj.conf \
6565
conf_overlay=${sample}/overlay-bt_ll_sw_split.conf \
6666
exe_name=bs_${BOARD_TS}_${app}_broadcast_prj_conf sysbuild=1 compile
6767
app=tests/bsim/bluetooth/audio_samples/cap/acceptor \
6868
sample=${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor \
69-
cmake_args="-DCONFIG_SAMPLE_SCAN_SELF=y -DCONFIG_SAMPLE_UNICAST=n" \
69+
cmake_extra_args="-DCONFIG_SAMPLE_SCAN_SELF=y -DCONFIG_SAMPLE_UNICAST=n" \
7070
conf_file=${sample}/prj.conf \
7171
conf_overlay=${sample}/overlay-bt_ll_sw_split.conf \
7272
exe_name=bs_${BOARD_TS}_${app}_broadcast_prj_conf sysbuild=1 compile

0 commit comments

Comments
 (0)