diff options
author | Peter Marko <peter.marko@siemens.com> | 2025-04-07 18:16:26 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-04-07 12:21:23 -0700 |
commit | 36b1e2b140679869d90fc61da8d4acb6e9d142cc (patch) | |
tree | 3700cb3a1abe21f35f6f652015320d1cf7883adf /meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python/0001-setup.py-Use-setuptools-instead-of-distutils.patch | |
parent | 3e7086cdde4aaadc10bc7275d0d46faf6d41a5fa (diff) | |
download | meta-openembedded-36b1e2b140679869d90fc61da8d4acb6e9d142cc.tar.gz |
bit7z: add ptest support
Main problem with ptest for this component is that it uses cmake's
FetchContent and CPM to get dependencies.
This adds lot of ugly code to the recipe including conditional patch.
Second big problem is that tests need BIT7Z_DISABLE_USE_STD_FILESYSTEM
which uses test library. This means that when building with ptests, the
code is significantly different than when building without it.
But in production case we don't want to use testing library...
This is known at upstream and will be fixed eventually as github CI is
failing on this too when submitting unrelated patches upstream.
Other considerations:
* created patch for new cmake option to pass path to test data on target
* created patch for new cmake option to pass path to lib7zip on target
* skipped test which consumes too much RAM (it passes if machine has
plenty of RAM)
* testdata contains files for other architectures, so INSANE_SKIP is
needed for ptest package
* created patch for tests failing with musl
Tests usually take 9s on my build machine so added them to fast ptests.
However since the dependency 7zip recipe does not build on 64-bit
architectures, I could not add it to PTESTS_FAST_META_OE.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python/0001-setup.py-Use-setuptools-instead-of-distutils.patch')
0 files changed, 0 insertions, 0 deletions