Skip to content

Commit

Permalink
tests: bt: enable entropy sources where missing
Browse files Browse the repository at this point in the history
Moving from TinyCrypt to PSA Crypto API caused an entropy source
to be always required, so this commit adds it in tests where
necessary.

Signed-off-by: Valerio Setti <[email protected]>
  • Loading branch information
valeriosetti committed Nov 6, 2024
1 parent 1848e59 commit 629d951
Show file tree
Hide file tree
Showing 64 changed files with 95 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/bluetooth/bap_unicast_client/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=2
CONFIG_BT_KEYS_OVERWRITE_OLDEST=y

CONFIG_BT_EXT_ADV=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/bap_unicast_server/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ CONFIG_BT_ATT_PREPARE_COUNT=1

CONFIG_BT_EXT_ADV=y
CONFIG_BT_DEVICE_NAME="Unicast Audio Server"

CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/central_hr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ CONFIG_LOG=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/central_ht/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/direction_finding_central/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTION_CTE_RX=y
CONFIG_BT_DF_CONNECTION_CTE_REQ=y

CONFIG_TEST_RANDOM_GENERATOR=y
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_BT_OBSERVER=y
# Enable Direction Finding Feature including AoA and AoD
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTIONLESS_CTE_RX=y

CONFIG_TEST_RANDOM_GENERATOR=y
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_BT_BROADCASTER=y
# Enable Direction Finding Feature including AoA and AoD
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTIONLESS_CTE_TX=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/direction_finding_peripheral/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTION_CTE_TX=y
CONFIG_BT_DF_CONNECTION_CTE_RSP=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/hap_ha/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CONFIG_BT_SEND_ECC_EMULATION=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/iso_connected_benchmark/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CONFIG_MAIN_STACK_SIZE=2048
CONFIG_LOG=y
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_LOG_BUFFER_SIZE=2048

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y

CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/peripheral_hr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_BT_BAS=y
CONFIG_BT_HRS=y
CONFIG_BT_DEVICE_NAME="Zephyr Heartrate Sensor"
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/peripheral_ht/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_BT_BAS=y
CONFIG_BT_DEVICE_NAME="Zephyr Health Thermometer"
CONFIG_BT_DEVICE_APPEARANCE=768
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/st_ble_sensor/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_BT_DEVICE_NAME="P2PSRV1"
CONFIG_BT_GATT_CLIENT=y
CONFIG_LOG=y
CONFIG_LOG_BUFFER_SIZE=2048

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_bmr/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_FPU=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_bms/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_FPU=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_central/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_FPU=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_peripheral/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_FPU=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/addr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_ZTEST=y
CONFIG_BT=y
CONFIG_BT_CTLR=n
CONFIG_BT_H4=n

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/bluetooth/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_BT_H4=n
CONFIG_LOG=y
CONFIG_UART_INTERRUPT_DRIVEN=n
CONFIG_ZTEST=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/bt_crypto/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_ZTEST=y
CONFIG_BT=y
CONFIG_BT_CTLR=n
CONFIG_BT_H4=n

CONFIG_ENTROPY_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/bt_crypto_ccm/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CONFIG_BT_CTLR=n
CONFIG_BT_H4=n

CONFIG_LOG=y

CONFIG_ENTROPY_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/gatt/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ CONFIG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_ATT_ERR_TO_STR=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/hci/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CONFIG_BT_HCI_ERR_TO_STR=y
CONFIG_BT_CTLR=n
CONFIG_BT_H4=n
CONFIG_BT_HCI_ERR_TO_STR=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/hci_prop_evt/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CONFIG_BT_HCI_CORE_LOG_LEVEL_DBG=y
CONFIG_BT_HCI_DRIVER_LOG_LEVEL_DBG=y

CONFIG_HEAP_MEM_POOL_SIZE=2048

CONFIG_ENTROPY_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/host_long_adv_recv/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CONFIG_BT_HCI_DRIVER_LOG_LEVEL_DBG=n
CONFIG_BT_LOG_LEVEL_DBG=y

CONFIG_BT_EXT_SCAN_BUF_SIZE=91

CONFIG_ENTROPY_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_BT=y
CONFIG_LOG=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_0.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_BT=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_1.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_10.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ CONFIG_BT_SMP_SC_ONLY=y
CONFIG_BT_SEND_ECC_EMULATION=y
CONFIG_BT_USE_DEBUG_KEYS=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_11.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ CONFIG_BT_USE_DEBUG_KEYS=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_12.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_BT_USE_DEBUG_KEYS=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_13.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_BT_USE_DEBUG_KEYS=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_14.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_BT_SMP=y
CONFIG_BT_SIGNING=y
CONFIG_BT_SEND_ECC_EMULATION=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_15.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_BT_SMP=y
CONFIG_BT_SMP_SC_ONLY=y
CONFIG_BT_SEND_ECC_EMULATION=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_16.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_BT_USE_DEBUG_KEYS=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_17.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ CONFIG_BT_ATT_LOG_LEVEL_DBG=y
CONFIG_BT_GATT_LOG_LEVEL_DBG=y
CONFIG_BT_CLASSIC=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_18.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CLASSIC=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_19.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_CLASSIC=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_2.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_20.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ CONFIG_BT_A2DP=y
CONFIG_BT_HFP_HF=y
CONFIG_BT_HFP_HF_LOG_LEVEL_DBG=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_21.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ CONFIG_BT_ATT_LOG_LEVEL_DBG=y
CONFIG_BT_GATT_LOG_LEVEL_DBG=y
CONFIG_BT_CLASSIC=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_22.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ CONFIG_BT_CLASSIC=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SMP=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CENTRAL=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_4.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SMP=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_5.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_6.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ CONFIG_BT_PERIPHERAL=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_7.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_SIGNING=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_8.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_BT_SMP=y
CONFIG_BT_SIGNING=y
CONFIG_BT_SMP_SC_ONLY=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_9.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ CONFIG_BT_SIGNING=y
CONFIG_BT_SMP_SC_ONLY=y
CONFIG_BT_SEND_ECC_EMULATION=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_h5.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_BT=y
CONFIG_BT_H5=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/init/prj_h5_dbg.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ CONFIG_BT_H5=y
CONFIG_LOG=y
CONFIG_BT_HCI_DRIVER_LOG_LEVEL_DBG=y
CONFIG_ZTEST=y
CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/l2cap/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ CONFIG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SMP=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/mesh/blob_io_flash/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ CONFIG_BT_MESH=y
CONFIG_BT_MESH_BLOB_SRV=y
CONFIG_BT_MESH_BLOB_CLI=y
CONFIG_BT_MESH_BLOB_IO_FLASH=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/shell/audio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,5 @@ CONFIG_BT_CTLR_ADV_ISO_STREAM_MAX=4
# Match the number of unicast streams supported in BAP
CONFIG_BT_CTLR_ISOAL_SOURCES=2
CONFIG_BT_CTLR_ISOAL_SINKS=2

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/shell/log.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ CONFIG_BT_ISO_PERIPHERAL=y
# kernel log-level bt_l2cap 2
# kernel log-level bt_att 4
CONFIG_LOG_RUNTIME_FILTERING=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/shell/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ CONFIG_LOG_RUNTIME_FILTERING=y

# Errno message table. Disable to save ROM.
CONFIG_MINIMAL_LIBC_STRING_ERROR_TABLE=y

CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/shell/prj_br.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_HRS=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_DEVICE_NAME="test shell"
CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/smp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ CONFIG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SMP_ERR_TO_STR=y
CONFIG_BT_SECURITY_ERR_TO_STR=y

CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/tester/boards/native_sim.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_UART_PIPE=n
CONFIG_SERIAL=y
CONFIG_UART_NATIVE_POSIX=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions tests/bluetooth/tester/boards/rd_rw612_bga.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CONFIG_BT_MAX_CONN=16
CONFIG_BT_BUF_ACL_RX_COUNT=17
CONFIG_ENTROPY_GENERATOR=y

# debug options
# CONFIG_UART_CONSOLE=y
Expand Down
2 changes: 2 additions & 0 deletions tests/bluetooth/tester/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ CONFIG_BT_DIS_SERIAL_NUMBER=y
CONFIG_BT_DIS_FW_REV=y
CONFIG_BT_DIS_HW_REV=y
CONFIG_BT_DIS_SW_REV=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/uuid/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_ZTEST=y
CONFIG_BT=y
CONFIG_BT_CTLR=n
CONFIG_BT_H4=n

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bsim/bluetooth/ll/conn/prj_split_hci_uart.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CONFIG_BT_L2CAP_TX_BUF_COUNT=6

CONFIG_BT_HCI=y
CONFIG_BT_CTLR=n

CONFIG_TEST_RANDOM_GENERATOR=y

0 comments on commit 629d951

Please sign in to comment.