summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bluez5
diff options
context:
space:
mode:
authorGuðni Már Gilbert <gudni.m.g@gmail.com>2025-03-30 02:41:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-01 11:58:25 +0100
commit508214938fd387c45ae6a606654f0a1a8fb7b7e1 (patch)
tree89c18611c5f0c6b6ce1a057ac678de921089c315 /meta/recipes-connectivity/bluez5
parentd27eeed0db591633f16c2849e573ee81a0dd1d4e (diff)
downloadpoky-508214938fd387c45ae6a606654f0a1a8fb7b7e1.tar.gz
bluez5: disable aics tests
Temporarily disable aics tests as they can fail depending on how the tests are executed. Sometimes they pass, sometimes they fail. The issue has been observed since BlueZ 5.72 to 5.80 Starting with BlueZ 5.80, the tests began failing when using the ptest-runner script. This is not a new issue in BlueZ 5.80 which is why the test is disabled with this commit until a solution is found. (From OE-Core rev: 1cd9f431e9a0c8c946630f2522d922e21ecfa1c2) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bluez5')
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc1
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5/0001-bluez5-disable-aics-tests.patch40
2 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index a81f317a37..f240743a05 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -69,6 +69,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
69 file://run-ptest \ 69 file://run-ptest \
70 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ 70 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
71 file://0001-test-gatt-Fix-hung-issue.patch \ 71 file://0001-test-gatt-Fix-hung-issue.patch \
72 file://0001-bluez5-disable-aics-tests.patch \
72 " 73 "
73S = "${WORKDIR}/bluez-${PV}" 74S = "${WORKDIR}/bluez-${PV}"
74 75
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-bluez5-disable-aics-tests.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-bluez5-disable-aics-tests.patch
new file mode 100644
index 0000000000..e5ece59cec
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/0001-bluez5-disable-aics-tests.patch
@@ -0,0 +1,40 @@
1From 9958e88edf74509faf759099896b37477625913f Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= <gudni.m.g@gmail.com>
3Date: Sun, 30 Mar 2025 02:20:24 +0000
4Subject: [PATCH] bluez5: disable aics tests
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Temporarily disable aics tests as they can fail
10depending on how the tests are executed. Sometimes they pass,
11sometimes they fail. The issue has been observed since BlueZ 5.72 to 5.80
12
13Starting with BlueZ 5.80, the tests began failing when using the
14ptest-runner script. This is not a new issue in BlueZ 5.80 which is
15why the test is disabled with this commit until a solution is found.
16
17See discussion on Github:
18https://github.com/bluez/bluez/issues/726
19https://github.com/bluez/bluez/issues/683
20
21Upstream-Status: Inappropriate [OE-Specific]
22
23Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
24---
25 unit/test-vcp.c | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-)
27
28diff --git a/unit/test-vcp.c b/unit/test-vcp.c
29index 6a61ea2..04b92e4 100644
30--- a/unit/test-vcp.c
31+++ b/unit/test-vcp.c
32@@ -2754,7 +2754,7 @@ int main(int argc, char *argv[])
33 tester_init(&argc, &argv);
34
35 test_vocs_unit_testcases();
36- test_aics_unit_testcases();
37+ //test_aics_unit_testcases();
38
39 return tester_run();
40 }