Skip to content

python3: skip tests requiring tools-sdk

Tim Orling openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1python3: skip tests requiring tools-sdkmeta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch meta/recipes-devtools/python/python3_3.9.5.bb+34 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] python3: skip tests requiring tools-sdk

When running python3-ptest for any release since Python 3.8.8 with a minimal target (e.g. python3-ptest), two test cases will fail:

https://github.com/python/cpython/blob/main/Lib/ctypes/test/test_find.py#L116
https://github.com/python/cpython/blob/main/Lib/ctypes/test/test_find.py#L120

For the autobuilder, these tests have always been running on an image which set IMAGE_FEATURES to include 'tools-sdk', which includes the required packagegroup-core-buildessential. Here we add a patch to test for 'tools-sdk' and skip the tests if it is not present.

The following changes since commit b8723c114b3d9b58d2da1a86d728d176dcbeb4b1:

nfs-utils: upgrade 2.5.3 -> 2.5.4 (2021-06-17 22:18:41 +0100)

are available in the Git repository at:

git://push.openembedded.org/openembedded-core-contrib timo/python3-skip-test-find

Tim Orling (1):
python3: skip tests requiring tools-sdk

 ...pes.test_find-skip-without-tools-sdk.patch | 33 +++++++++++++++++++
 meta/recipes-devtools/python/python3_3.9.5.bb |  1 +
 2 files changed, 34 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch
Signature · 1 line
2.30.2