diff options
Diffstat (limited to 'meta/recipes-support/icu/icu_77-1.bb')
-rw-r--r-- | meta/recipes-support/icu/icu_77-1.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/icu_77-1.bb b/meta/recipes-support/icu/icu_77-1.bb index e655b18ad2..cd81a6c729 100644 --- a/meta/recipes-support/icu/icu_77-1.bb +++ b/meta/recipes-support/icu/icu_77-1.bb | |||
@@ -119,6 +119,9 @@ SRC_URI = "${BASE_SRC_URI};name=code \ | |||
119 | ${DATA_SRC_URI};name=data \ | 119 | ${DATA_SRC_URI};name=data \ |
120 | file://filter.json \ | 120 | file://filter.json \ |
121 | file://0001-icu-Added-armeb-support.patch \ | 121 | file://0001-icu-Added-armeb-support.patch \ |
122 | file://0001-ICU-23120-Mask-UnicodeStringTest-TestLargeMemory-on-.patch \ | ||
123 | file://0001-test-Add-support-ptest.patch \ | ||
124 | file://run-ptest \ | ||
122 | " | 125 | " |
123 | 126 | ||
124 | SRC_URI:append:class-target = "\ | 127 | SRC_URI:append:class-target = "\ |
@@ -160,3 +163,23 @@ do_make_icudata() { | |||
160 | } | 163 | } |
161 | 164 | ||
162 | addtask make_icudata before do_configure after do_patch do_prepare_recipe_sysroot | 165 | addtask make_icudata before do_configure after do_patch do_prepare_recipe_sysroot |
166 | |||
167 | inherit ptest | ||
168 | RDEPENDS:${PN}-ptest += "bash" | ||
169 | |||
170 | do_compile_ptest() { | ||
171 | oe_runmake -C test everything PTEST_PATH=${PTEST_PATH} | ||
172 | } | ||
173 | |||
174 | do_install_ptest() { | ||
175 | install -d ${D}${PTEST_PATH}/test | ||
176 | install -d ${D}${PTEST_PATH}/data | ||
177 | cp -r ${S}/test/testdata ${D}/${PTEST_PATH}/test | ||
178 | cp -r ${S}/data/unidata ${D}/${PTEST_PATH}/data/ | ||
179 | cp -r ${S}/data/sprep ${D}/${PTEST_PATH}/data/ | ||
180 | cp -r ${S}/../testdata ${D}/${PTEST_PATH}/ | ||
181 | cp -r ${B}/test/testdata/out ${D}/${PTEST_PATH}/test/testdata | ||
182 | |||
183 | install -d ${D}${PTEST_PATH}/test/tests | ||
184 | find ${B}/test/ -type f -executable -exec cp {} ${D}${PTEST_PATH}/test/tests \; | ||
185 | } | ||