diff options
author | Tim Orling <timothy.t.orling@intel.com> | 2021-06-18 12:05:47 -0700 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-06-28 05:54:26 -1000 |
commit | 63bc36dbd93c46be8adf7db00e3fc22897eb1846 (patch) | |
tree | b749dd20fe2b96d88e4f444c937f73de14853f13 /meta/recipes-devtools/python/python3_3.8.10.bb | |
parent | 9423ad8f0f42d249c2fcb1b86ec9abb75854f011 (diff) | |
download | openembedded-core-contrib-63bc36dbd93c46be8adf7db00e3fc22897eb1846.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']}
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.8.10.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.8.10.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.8.10.bb b/meta/recipes-devtools/python/python3_3.8.10.bb index ae32ccc40e..c3da6718a8 100644 --- a/meta/recipes-devtools/python/python3_3.8.10.bb +++ b/meta/recipes-devtools/python/python3_3.8.10.bb @@ -33,6 +33,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://0001-configure.ac-fix-LIBPL.patch \ file://0001-python3-Do-not-hardcode-lib-for-distutils.patch \ file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \ + ${@bb.utils.contains('IMAGE_FEATURES', 'tools-sdk', '', 'file://0001-test_ctypes.test_find-skip-without-tools-sdk.patch', d)} \ " SRC_URI_append_class-native = " \ |