diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2018-03-29 13:27:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-30 09:40:34 +0100 |
commit | 4cedddb83623c79980b354642dfeaf78218ca4b7 (patch) | |
tree | e3b0e203bcd182b37b48808686ca6b67f54b8ae8 | |
parent | 85af760bb7370d001df0ab5915bc9ee7e6c03dfd (diff) | |
download | openembedded-core-4cedddb83623c79980b354642dfeaf78218ca4b7.tar.gz openembedded-core-4cedddb83623c79980b354642dfeaf78218ca4b7.tar.bz2 openembedded-core-4cedddb83623c79980b354642dfeaf78218ca4b7.zip |
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]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libpcre/libpcre_8.41.bb | 4 |
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() { for i in RunTest RunGrepTest test-driver; \ do cp ${S}/$i $t; \ done + # Skip the fr_FR locale test. If the locale fr_FR is found, it is tested. + # If not found, the test is skipped. The test program assumes fr_FR is non-UTF-8 + # locale so the test fails if fr_FR is UTF-8 locale. + sed -i -e 's:do3=yes:do3=no:g' ${D}${PTEST_PATH}/RunTest } |