aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-10-18 17:11:18 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-05-17 10:10:46 +0300
commitf655848ba339477a472d9ca61456cf11c30e9a46 (patch)
tree51f7ed078e328c7809f240a0239fc129c6592e26 /meta
parentd51fe4f002b02e083cf53864b2a52a001efac6fc (diff)
downloadopenembedded-core-contrib-f655848ba339477a472d9ca61456cf11c30e9a46.tar.gz
openembedded-core-contrib-f655848ba339477a472d9ca61456cf11c30e9a46.tar.bz2
openembedded-core-contrib-f655848ba339477a472d9ca61456cf11c30e9a46.zip
python-pgo-image: exclude tests from the default profile target
Exclue tests that are segfaulting or otherwise failing (on qemux86 target), and thus, causing the profile task to fail. Also, disable tests that are taking very long to execute. In qemux86 target on my i7-3770K: test_lib2to3: 1908.8s test_io: 1278.4s test_itertools: 436.4s [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/images/python-pgo-image.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-devtools/images/python-pgo-image.bb b/meta/recipes-devtools/images/python-pgo-image.bb
index af9da20338..426d6acb45 100644
--- a/meta/recipes-devtools/images/python-pgo-image.bb
+++ b/meta/recipes-devtools/images/python-pgo-image.bb
@@ -8,7 +8,14 @@ LICENSE = "MIT"
inherit core-image
PYTHON_PROFILE_DIR ?= "${TMPDIR}/work-shared/${MACHINE}/python/pgo-data"
-PYTHON_PROFILE_TASK ?= "-m test.regrtest --pgo -w -x test_asyncore test_gdb test_multiprocessing test_subprocess"
+PYTHON_PROFILE_TASK_DEFAULT = "-m test.regrtest --pgo -w -x test_asyncore test_gdb test_multiprocessing test_subprocess"
+# Exclude tests that are segfaulting on qemux86 target
+PYTHON_PROFILE_TASK_DEFAULT += "test_bytes test_str test_string test_tuple test_unicode test_userstring test_xmlrpc"
+# Exclude tests that are failing on qemux86
+PYTHON_PROFILE_TASK_DEFAULT += "test_StringIO test_builtin test_calendar test_cmath test_ctypes test_distutils test_exceptions test_getargs test_gzip test_json test_math test_shutil test_socket test_sqlite test_sysconfig test_traceback test_warnings"
+# Exclude tests that are taking very long on qemux86
+PYTHON_PROFILE_TASK_DEFAULT += "test_io test_lib2to3 test_itertools"
+PYTHON_PROFILE_TASK ?= "${PYTHON_PROFILE_TASK_DEFAULT}"
# We need these because we're utilizing the runtime test helpers from oeqa
TEST_TARGET ?= "qemu"