From: Guðni Már Gilbert Date: Sun, 30 Mar 2025 02:41:02 +0000 (+0000) Subject: bluez5: disable aics tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cd9f431e9a0c8c946630f2522d922e21ecfa1c2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Guðni Már Gilbert Signed-off-by: Richard Purdie --- 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 \ file://run-ptest \ file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ file://0001-test-gatt-Fix-hung-issue.patch \ + file://0001-bluez5-disable-aics-tests.patch \ " S = "${WORKDIR}/bluez-${PV}" 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 @@ +From 9958e88edf74509faf759099896b37477625913f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= +Date: Sun, 30 Mar 2025 02:20:24 +0000 +Subject: [PATCH] bluez5: disable aics tests +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +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. + +See discussion on Github: +https://github.com/bluez/bluez/issues/726 +https://github.com/bluez/bluez/issues/683 + +Upstream-Status: Inappropriate [OE-Specific] + +Signed-off-by: Guðni Már Gilbert +--- + unit/test-vcp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/unit/test-vcp.c b/unit/test-vcp.c +index 6a61ea2..04b92e4 100644 +--- a/unit/test-vcp.c ++++ b/unit/test-vcp.c +@@ -2754,7 +2754,7 @@ int main(int argc, char *argv[]) + tester_init(&argc, &argv); + + test_vocs_unit_testcases(); +- test_aics_unit_testcases(); ++ //test_aics_unit_testcases(); + + return tester_run(); + }