summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSzymon Janc <ext.szymon.janc@tieto.com>2016-03-23 12:47:04 +0100
committerGerrit Code Review <gerrit@zephyrproject.org>2016-03-23 12:50:30 +0000
commit6f9ce0b41721d0c6a5cdfd85da4afa84bf27907e (patch)
tree992bb165a22c49758baa7218823b0aa804060ba7 /tests
parentdc6085667e67180ff7201df9cf936c8e7e3ac4b9 (diff)
Bluetooth: Provide more config options to init sample
This allows to excersize different kconfig configurations in single app. Thanks to this other samples don't have to get extra extra options enabled just to improve test build coverage. Change-Id: Ie5d261f3d38c60e227cf963d938b6fac6d0fb3b9 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bluetooth/init/prj_0.conf2
-rw-r--r--tests/bluetooth/init/prj_1.conf3
-rw-r--r--tests/bluetooth/init/prj_10.conf9
-rw-r--r--tests/bluetooth/init/prj_11.conf12
-rw-r--r--tests/bluetooth/init/prj_12.conf11
-rw-r--r--tests/bluetooth/init/prj_13.conf11
-rw-r--r--tests/bluetooth/init/prj_14.conf7
-rw-r--r--tests/bluetooth/init/prj_15.conf7
-rw-r--r--tests/bluetooth/init/prj_16.conf8
-rw-r--r--tests/bluetooth/init/prj_17.conf22
-rw-r--r--tests/bluetooth/init/prj_18.conf4
-rw-r--r--tests/bluetooth/init/prj_19.conf4
-rw-r--r--tests/bluetooth/init/prj_2.conf3
-rw-r--r--tests/bluetooth/init/prj_3.conf5
-rw-r--r--tests/bluetooth/init/prj_4.conf4
-rw-r--r--tests/bluetooth/init/prj_5.conf4
-rw-r--r--tests/bluetooth/init/prj_6.conf5
-rw-r--r--tests/bluetooth/init/prj_7.conf6
-rw-r--r--tests/bluetooth/init/prj_8.conf7
-rw-r--r--tests/bluetooth/init/prj_9.conf8
-rw-r--r--tests/bluetooth/init/testcase.ini106
21 files changed, 243 insertions, 5 deletions
diff --git a/tests/bluetooth/init/prj_0.conf b/tests/bluetooth/init/prj_0.conf
new file mode 100644
index 000000000..813a57682
--- /dev/null
+++ b/tests/bluetooth/init/prj_0.conf
@@ -0,0 +1,2 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
diff --git a/tests/bluetooth/init/prj_1.conf b/tests/bluetooth/init/prj_1.conf
new file mode 100644
index 000000000..8e286c669
--- /dev/null
+++ b/tests/bluetooth/init/prj_1.conf
@@ -0,0 +1,3 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=y
diff --git a/tests/bluetooth/init/prj_10.conf b/tests/bluetooth/init/prj_10.conf
new file mode 100644
index 000000000..dc77dd8be
--- /dev/null
+++ b/tests/bluetooth/init/prj_10.conf
@@ -0,0 +1,9 @@
+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
diff --git a/tests/bluetooth/init/prj_11.conf b/tests/bluetooth/init/prj_11.conf
new file mode 100644
index 000000000..db905e3a7
--- /dev/null
+++ b/tests/bluetooth/init/prj_11.conf
@@ -0,0 +1,12 @@
+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
diff --git a/tests/bluetooth/init/prj_12.conf b/tests/bluetooth/init/prj_12.conf
new file mode 100644
index 000000000..7facd4946
--- /dev/null
+++ b/tests/bluetooth/init/prj_12.conf
@@ -0,0 +1,11 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=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
diff --git a/tests/bluetooth/init/prj_13.conf b/tests/bluetooth/init/prj_13.conf
new file mode 100644
index 000000000..d08bea461
--- /dev/null
+++ b/tests/bluetooth/init/prj_13.conf
@@ -0,0 +1,11 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=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
diff --git a/tests/bluetooth/init/prj_14.conf b/tests/bluetooth/init/prj_14.conf
new file mode 100644
index 000000000..103f48f2d
--- /dev/null
+++ b/tests/bluetooth/init/prj_14.conf
@@ -0,0 +1,7 @@
+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_TINYCRYPT_ECC=y
diff --git a/tests/bluetooth/init/prj_15.conf b/tests/bluetooth/init/prj_15.conf
new file mode 100644
index 000000000..542436299
--- /dev/null
+++ b/tests/bluetooth/init/prj_15.conf
@@ -0,0 +1,7 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=y
+CONFIG_BLUETOOTH_CENTRAL=y
+CONFIG_BLUETOOTH_SMP=y
+CONFIG_BLUETOOTH_SMP_SC_ONLY=y
+CONFIG_BLUETOOTH_TINYCRYPT_ECC=y
diff --git a/tests/bluetooth/init/prj_16.conf b/tests/bluetooth/init/prj_16.conf
new file mode 100644
index 000000000..b9fced34c
--- /dev/null
+++ b/tests/bluetooth/init/prj_16.conf
@@ -0,0 +1,8 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=y
+CONFIG_BLUETOOTH_CENTRAL=y
+CONFIG_BLUETOOTH_USE_DEBUG_KEYS=y
+CONFIG_BLUETOOTH_L2CAP_DYNAMIC_CHANNEL=y
+CONFIG_BLUETOOTH_GATT_DYNAMIC_DB=y
+CONFIG_BLUETOOTH_GATT_CLIENT=y
diff --git a/tests/bluetooth/init/prj_17.conf b/tests/bluetooth/init/prj_17.conf
new file mode 100644
index 000000000..8f196aa86
--- /dev/null
+++ b/tests/bluetooth/init/prj_17.conf
@@ -0,0 +1,22 @@
+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=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_SMP_SELFTEST=y
+CONFIG_BLUETOOTH_DEBUG_ATT=y
+CONFIG_BLUETOOTH_DEBUG_GATT=y
+CONFIG_BLUETOOTH_BREDR=y
diff --git a/tests/bluetooth/init/prj_18.conf b/tests/bluetooth/init/prj_18.conf
new file mode 100644
index 000000000..f33094d0a
--- /dev/null
+++ b/tests/bluetooth/init/prj_18.conf
@@ -0,0 +1,4 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=y
+CONFIG_BLUETOOTH_BREDR=y
diff --git a/tests/bluetooth/init/prj_19.conf b/tests/bluetooth/init/prj_19.conf
new file mode 100644
index 000000000..a3dcee9c1
--- /dev/null
+++ b/tests/bluetooth/init/prj_19.conf
@@ -0,0 +1,4 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_CENTRAL=y
+CONFIG_BLUETOOTH_BREDR=y
diff --git a/tests/bluetooth/init/prj_2.conf b/tests/bluetooth/init/prj_2.conf
new file mode 100644
index 000000000..b7adcd175
--- /dev/null
+++ b/tests/bluetooth/init/prj_2.conf
@@ -0,0 +1,3 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_CENTRAL=y
diff --git a/tests/bluetooth/init/prj_3.conf b/tests/bluetooth/init/prj_3.conf
new file mode 100644
index 000000000..c05c0406f
--- /dev/null
+++ b/tests/bluetooth/init/prj_3.conf
@@ -0,0 +1,5 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=y
+CONFIG_BLUETOOTH_CENTRAL=y
+
diff --git a/tests/bluetooth/init/prj_4.conf b/tests/bluetooth/init/prj_4.conf
new file mode 100644
index 000000000..a528a852b
--- /dev/null
+++ b/tests/bluetooth/init/prj_4.conf
@@ -0,0 +1,4 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=y
+CONFIG_BLUETOOTH_SMP=y
diff --git a/tests/bluetooth/init/prj_5.conf b/tests/bluetooth/init/prj_5.conf
new file mode 100644
index 000000000..fe95f26bd
--- /dev/null
+++ b/tests/bluetooth/init/prj_5.conf
@@ -0,0 +1,4 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_CENTRAL=y
+CONFIG_BLUETOOTH_SMP=y
diff --git a/tests/bluetooth/init/prj_6.conf b/tests/bluetooth/init/prj_6.conf
new file mode 100644
index 000000000..6d6237b9d
--- /dev/null
+++ b/tests/bluetooth/init/prj_6.conf
@@ -0,0 +1,5 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=y
+CONFIG_BLUETOOTH_CENTRAL=y
+CONFIG_BLUETOOTH_SMP=y
diff --git a/tests/bluetooth/init/prj_7.conf b/tests/bluetooth/init/prj_7.conf
new file mode 100644
index 000000000..de34ff986
--- /dev/null
+++ b/tests/bluetooth/init/prj_7.conf
@@ -0,0 +1,6 @@
+CONFIG_BLUETOOTH=y
+CONFIG_BLUETOOTH_LE=y
+CONFIG_BLUETOOTH_PERIPHERAL=y
+CONFIG_BLUETOOTH_CENTRAL=y
+CONFIG_BLUETOOTH_SMP=y
+CONFIG_BLUETOOTH_SIGNING=y
diff --git a/tests/bluetooth/init/prj_8.conf b/tests/bluetooth/init/prj_8.conf
new file mode 100644
index 000000000..1ec4fc98a
--- /dev/null
+++ b/tests/bluetooth/init/prj_8.conf
@@ -0,0 +1,7 @@
+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
diff --git a/tests/bluetooth/init/prj_9.conf b/tests/bluetooth/init/prj_9.conf
new file mode 100644
index 000000000..94c98eced
--- /dev/null
+++ b/tests/bluetooth/init/prj_9.conf
@@ -0,0 +1,8 @@
+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
diff --git a/tests/bluetooth/init/testcase.ini b/tests/bluetooth/init/testcase.ini
index 9b96d25d0..6b4239bda 100644
--- a/tests/bluetooth/init/testcase.ini
+++ b/tests/bluetooth/init/testcase.ini
@@ -1,19 +1,115 @@
[test_micro]
tags = bluetooth
build_only = true
-arch_whitelist = x86
-kernel = micro
[test_nano]
tags = bluetooth
build_only = true
-arch_whitelist = x86
extra_args = KERNEL_TYPE=nano
kernel = nano
[test_h5]
tags = bluetooth
build_only = true
-arch_whitelist = x86
extra_args = CONF_FILE=prj_h5.conf
-kernel = micro
+
+[test_0]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_0.conf
+
+[test_1]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_1.conf
+
+[test_2]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_2.conf
+
+[test_3]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_3.conf
+
+[test_4]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_4.conf
+
+[test_5]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_5.conf
+
+[test_6]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_6.conf
+
+[test_7]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_7.conf
+
+[test_8]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_8.conf
+
+[test_9]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_9.conf
+
+[test_10]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_10.conf
+
+[test_11]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_11.conf
+
+[test_12]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_12.conf
+
+[test_13]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_13.conf
+
+[test_14]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_14.conf
+
+[test_15]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_15.conf
+
+[test_16]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_16.conf
+
+[test_17]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_17.conf
+
+[test_18]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_18.conf
+
+[test_19]
+tags = bluetooth
+build_only = true
+extra_args = CONF_FILE=prj_19.conf
+