diff options
| author | Guðni Már Gilbert <gudni.m.g@gmail.com> | 2025-03-30 02:41:02 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-01 11:58:25 +0100 |
| commit | 508214938fd387c45ae6a606654f0a1a8fb7b7e1 (patch) | |
| tree | 89c18611c5f0c6b6ce1a057ac678de921089c315 /meta/recipes-connectivity/bluez5 | |
| parent | d27eeed0db591633f16c2849e573ee81a0dd1d4e (diff) | |
| download | poky-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.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5/0001-bluez5-disable-aics-tests.patch | 40 |
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 | " |
| 73 | S = "${WORKDIR}/bluez-${PV}" | 74 | S = "${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 @@ | |||
| 1 | From 9958e88edf74509faf759099896b37477625913f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= <gudni.m.g@gmail.com> | ||
| 3 | Date: Sun, 30 Mar 2025 02:20:24 +0000 | ||
| 4 | Subject: [PATCH] bluez5: disable aics tests | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Temporarily disable aics tests as they can fail | ||
| 10 | depending on how the tests are executed. Sometimes they pass, | ||
| 11 | sometimes they fail. The issue has been observed since BlueZ 5.72 to 5.80 | ||
| 12 | |||
| 13 | Starting with BlueZ 5.80, the tests began failing when using the | ||
| 14 | ptest-runner script. This is not a new issue in BlueZ 5.80 which is | ||
| 15 | why the test is disabled with this commit until a solution is found. | ||
| 16 | |||
| 17 | See discussion on Github: | ||
| 18 | https://github.com/bluez/bluez/issues/726 | ||
| 19 | https://github.com/bluez/bluez/issues/683 | ||
| 20 | |||
| 21 | Upstream-Status: Inappropriate [OE-Specific] | ||
| 22 | |||
| 23 | Signed-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 | |||
| 28 | diff --git a/unit/test-vcp.c b/unit/test-vcp.c | ||
| 29 | index 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 | } | ||
