summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2018-03-29 13:27:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-03 09:53:48 +0100
commit901ad79f65ee0d83698f349dc59ef24c8c078693 (patch)
treece239d1d3c2411426c9f3e15f6cdc6654c5e46ff /meta
parent1e3c5155254b056609d37554212ff07881003b5b (diff)
downloadpoky-901ad79f65ee0d83698f349dc59ef24c8c078693.tar.gz
libpcre-ptest: skip locale test
If a fr_FR locale is found, it is automatically tested. The test will fail if the locale is UTF-8, as the test blindly assumes (and expects) a non-UTF fr_FR locale. The remedy is to skip the test. [YOCTO #12215] (From OE-Core rev: 4cedddb83623c79980b354642dfeaf78218ca4b7) (From OE-Core rev: ebb6c4f6a2bb6a6be4b3c4f8b7095bad529c62ea) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.41.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.41.bb b/meta/recipes-support/libpcre/libpcre_8.41.bb
index 0eaed1808a..0187c08f50 100644
--- a/meta/recipes-support/libpcre/libpcre_8.41.bb
+++ b/meta/recipes-support/libpcre/libpcre_8.41.bb
@@ -80,4 +80,8 @@ do_install_ptest() {
80 for i in RunTest RunGrepTest test-driver; \ 80 for i in RunTest RunGrepTest test-driver; \
81 do cp ${S}/$i $t; \ 81 do cp ${S}/$i $t; \
82 done 82 done
83 # Skip the fr_FR locale test. If the locale fr_FR is found, it is tested.
84 # If not found, the test is skipped. The test program assumes fr_FR is non-UTF-8
85 # locale so the test fails if fr_FR is UTF-8 locale.
86 sed -i -e 's:do3=yes:do3=no:g' ${D}${PTEST_PATH}/RunTest
83} 87}