diff options
| author | Daisuke Yamane <yamane07ynct@gmail.com> | 2025-07-06 18:01:52 +0900 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-21 23:00:18 +0100 |
| commit | 4b83fe5745f12cdbeef9f038f60e704884e08e66 (patch) | |
| tree | 7da8c621d6aa04d1ce6ef0d1159953998b9215b2 /meta/conf | |
| parent | cdb6e3e5c5724098ba072af91f9dff283a13ef72 (diff) | |
| download | poky-4b83fe5745f12cdbeef9f038f60e704884e08e66.tar.gz | |
icu: Add ptest support
Add following patches.
- 0001-test-Add-support-ptest.patch
- Some default paths in test code are invalid at runtime and cause
- test failures. So add a patch to adjust path to test data for ptest
- environment.
- 0001-ICU-23120-Mask-UnicodeStringTest-TestLargeMemory-on-.patch
- Since ICU-77.1, a test case (TestLargeMemory) that fails to build
- in a 32-bit environment. So add a patch to skip this test case.
- This bug has been reported to upstream. See https://unicode-org.atlassian.net/browse/ICU-23120.
Install icu test-suite to run it as a ptest.
Add icu to PTESTS_FAST because it takes 27sec (less than 30sec) to complete on
qemux86-64 with kvm enabled.
root@qemux86-64:~# ptest-runner icu
START: ptest-runner
2025-07-06T00:46
BEGIN: /usr/lib/icu/ptest
___(snip)___
--------------------------------------
Elapsed Time: 00:00:23.070
PASS: ./intltest
DURATION: 27
END: /usr/lib/icu/ptest
2025-07-06T00:47
STOP: ptest-runner
TOTAL: 1 FAIL: 0
(From OE-Core rev: 4a729a529067a5ba7036a224cf330e31b8a5f838)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
CC: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
| -rw-r--r-- | meta/conf/distro/include/ptest-packagelists.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 46c8945eb4..85c0350161 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc | |||
| @@ -25,6 +25,7 @@ PTESTS_FAST = "\ | |||
| 25 | gdk-pixbuf \ | 25 | gdk-pixbuf \ |
| 26 | glib-networking \ | 26 | glib-networking \ |
| 27 | gzip \ | 27 | gzip \ |
| 28 | icu \ | ||
| 28 | json-c \ | 29 | json-c \ |
| 29 | json-glib \ | 30 | json-glib \ |
| 30 | libconvert-asn1-perl \ | 31 | libconvert-asn1-perl \ |
