diff options
author | Tim Orling <ticotimo@gmail.com> | 2021-06-18 17:00:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-21 11:09:56 +0100 |
commit | 721555184bb6b75fa5b878337fceef560eebdb3d (patch) | |
tree | 45e78aba3e009a66c2093c005644487ce7975a6c /meta/recipes-devtools/python/python3_3.9.5.bb | |
parent | 663626062018c9ce42a3348fced2247cb0820627 (diff) | |
download | poky-721555184bb6b75fa5b878337fceef560eebdb3d.tar.gz |
python3: skip tests requiring tools-sdk
Conditionally skip test_ctypes.test_find unless
IMAGE_FEATURES contains 'tools-sdk' as these test
cases require full packagegroup-core-buildessential
Fixes:
AssertionError: Failed ptests:
{'python3': ['test_find_library_with_gcc', 'test_find_library_with_ld']}
(From OE-Core rev: 70e2fc066a18c35e42610d75eeaa1edd9aab7cf2)
(From OE-Core rev: c6567235cba55f50ca77d5db848c887232f3670c)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.9.5.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.9.5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.9.5.bb b/meta/recipes-devtools/python/python3_3.9.5.bb index f4002f2516..1717ff737d 100644 --- a/meta/recipes-devtools/python/python3_3.9.5.bb +++ b/meta/recipes-devtools/python/python3_3.9.5.bb | |||
@@ -31,6 +31,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ | |||
31 | file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \ | 31 | file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \ |
32 | file://0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch \ | 32 | file://0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch \ |
33 | file://0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch \ | 33 | file://0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch \ |
34 | ${@bb.utils.contains('IMAGE_FEATURES', 'tools-sdk', '', 'file://0001-test_ctypes.test_find-skip-without-tools-sdk.patch', d)} \ | ||
34 | " | 35 | " |
35 | 36 | ||
36 | SRC_URI_append_class-native = " \ | 37 | SRC_URI_append_class-native = " \ |