[oe-commits] [openembedded-core] 19/35: libpcre-ptest: skip locale test

git at git.openembedded.org git at git.openembedded.org
Thu May 3 09:05:24 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch rocko
in repository openembedded-core.

commit ebb6c4f6a2bb6a6be4b3c4f8b7095bad529c62ea
Author: Juro Bystricky <juro.bystricky at intel.com>
AuthorDate: Thu Mar 29 13:27:02 2018 -0700

    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)
    
    Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster at mvista.com>
---
 meta/recipes-support/libpcre/libpcre_8.41.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-support/libpcre/libpcre_8.41.bb b/meta/recipes-support/libpcre/libpcre_8.41.bb
index 0eaed18..0187c08 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 
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list