Bluetooth: tests: Add automated tests for new monitor code
Add two new test cases to exercise the code in monitor.c. Change-Id: I66ae70e0d3b61d3b852916333019e1ed2c5c6cf4 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
264c207f4f
commit
8c3add2b6a
24
tests/bluetooth/init/prj_20.conf
Normal file
24
tests/bluetooth/init/prj_20.conf
Normal file
|
@ -0,0 +1,24 @@
|
|||
CONFIG_BLUETOOTH=y
|
||||
CONFIG_BLUETOOTH_LE=y
|
||||
CONFIG_BLUETOOTH_PERIPHERAL=y
|
||||
CONFIG_BLUETOOTH_CENTRAL=y
|
||||
CONFIG_BLUETOOTH_SMP=y
|
||||
CONFIG_BLUETOOTH_SIGNING=y
|
||||
CONFIG_BLUETOOTH_SMP_SC_ONLY=y
|
||||
CONFIG_BLUETOOTH_TINYCRYPT_ECC=y
|
||||
CONFIG_BLUETOOTH_USE_DEBUG_KEYS=y
|
||||
CONFIG_BLUETOOTH_L2CAP_DYNAMIC_CHANNEL=y
|
||||
CONFIG_BLUETOOTH_GATT_DYNAMIC_DB=y
|
||||
CONFIG_BLUETOOTH_GATT_CLIENT=y
|
||||
CONFIG_BLUETOOTH_DEBUG_MONITOR=y
|
||||
CONFIG_UART_CONSOLE=n
|
||||
CONFIG_BLUETOOTH_DEBUG_HCI_CORE=y
|
||||
CONFIG_BLUETOOTH_DEBUG_CONN=y
|
||||
CONFIG_BLUETOOTH_DEBUG_KEYS=y
|
||||
CONFIG_BLUETOOTH_DEBUG_L2CAP=y
|
||||
CONFIG_BLUETOOTH_DEBUG_SMP=y
|
||||
CONFIG_BLUETOOTH_DEBUG_DRIVER=y
|
||||
CONFIG_BLUETOOTH_SMP_SELFTEST=y
|
||||
CONFIG_BLUETOOTH_DEBUG_ATT=y
|
||||
CONFIG_BLUETOOTH_DEBUG_GATT=y
|
||||
CONFIG_BLUETOOTH_BREDR=y
|
23
tests/bluetooth/init/prj_21.conf
Normal file
23
tests/bluetooth/init/prj_21.conf
Normal file
|
@ -0,0 +1,23 @@
|
|||
CONFIG_BLUETOOTH=y
|
||||
CONFIG_BLUETOOTH_LE=y
|
||||
CONFIG_BLUETOOTH_PERIPHERAL=y
|
||||
CONFIG_BLUETOOTH_CENTRAL=y
|
||||
CONFIG_BLUETOOTH_SMP=y
|
||||
CONFIG_BLUETOOTH_SIGNING=y
|
||||
CONFIG_BLUETOOTH_SMP_SC_ONLY=y
|
||||
CONFIG_BLUETOOTH_TINYCRYPT_ECC=y
|
||||
CONFIG_BLUETOOTH_USE_DEBUG_KEYS=y
|
||||
CONFIG_BLUETOOTH_L2CAP_DYNAMIC_CHANNEL=y
|
||||
CONFIG_BLUETOOTH_GATT_DYNAMIC_DB=y
|
||||
CONFIG_BLUETOOTH_GATT_CLIENT=y
|
||||
CONFIG_BLUETOOTH_DEBUG_MONITOR=y
|
||||
CONFIG_BLUETOOTH_DEBUG_HCI_CORE=y
|
||||
CONFIG_BLUETOOTH_DEBUG_CONN=y
|
||||
CONFIG_BLUETOOTH_DEBUG_KEYS=y
|
||||
CONFIG_BLUETOOTH_DEBUG_L2CAP=y
|
||||
CONFIG_BLUETOOTH_DEBUG_SMP=y
|
||||
CONFIG_BLUETOOTH_DEBUG_DRIVER=y
|
||||
CONFIG_BLUETOOTH_SMP_SELFTEST=y
|
||||
CONFIG_BLUETOOTH_DEBUG_ATT=y
|
||||
CONFIG_BLUETOOTH_DEBUG_GATT=y
|
||||
CONFIG_BLUETOOTH_BREDR=y
|
|
@ -118,3 +118,12 @@ tags = bluetooth
|
|||
build_only = true
|
||||
extra_args = CONF_FILE=prj_19.conf
|
||||
|
||||
[test_20]
|
||||
tags = bluetooth
|
||||
build_only = true
|
||||
extra_args = CONF_FILE=prj_20.conf
|
||||
|
||||
[test_21]
|
||||
tags = bluetooth
|
||||
build_only = true
|
||||
extra_args = CONF_FILE=prj_21.conf
|
||||
|
|
Loading…
Reference in a new issue