diff options
author | Jingdong Lu <jingdong.lu@windriver.com> | 2011-01-19 17:04:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-20 21:37:02 +0000 |
commit | e261c1760d8a660c13cd00039a4812d51f47f3df (patch) | |
tree | a4d4e071a2b465cd08bdbdc1cfc3e8a5b47e6f85 /meta/recipes-devtools/python/python.inc | |
parent | 426de6589b4b94769446e655999b68d0ab1f046b (diff) | |
download | poky-e261c1760d8a660c13cd00039a4812d51f47f3df.tar.gz |
python: Fix failures of LSB python-runtime tests.
Fix failues of LSB python-runtime tests.
test_largefile: add "ac_cv_sizeof_off_t=8" option explicitly into configure options in order to enable "LFS".
test_codecs, test_re, test_unicode: "--with-wctype-functions" will cause these tests failed, so remove it for LSB.
test_builtin, test_getargs: "sitecustomize.py" cause default encoding changed from "ascii" into "utf8" and it will cause these tests failed, so remove this file for LSB.
Signed-off-by: Jingdong Lu<jingdong.lu@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/python/python.inc')
-rw-r--r-- | meta/recipes-devtools/python/python.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc index 62a6ba1589..f78250769b 100644 --- a/meta/recipes-devtools/python/python.inc +++ b/meta/recipes-devtools/python/python.inc | |||
@@ -22,4 +22,14 @@ EXTRA_OECONF = "\ | |||
22 | --enable-shared \ | 22 | --enable-shared \ |
23 | " | 23 | " |
24 | 24 | ||
25 | EXTRA_OECONF_poky-lsb = "\ | ||
26 | --with-threads \ | ||
27 | --with-pymalloc \ | ||
28 | --with-cyclic-gc \ | ||
29 | --without-cxx \ | ||
30 | --with-signal-module \ | ||
31 | --enable-shared \ | ||
32 | ac_cv_sizeof_off_t=8 \ | ||
33 | " | ||
34 | |||
25 | PARALLEL_MAKE = "" | 35 | PARALLEL_MAKE = "" |