summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build_sdk.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-05-10 09:43:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-12 22:01:55 +0100
commit04e4586c66b61891f45438a6ff19d26cfe30d480 (patch)
treef49c26490fd7b82f10a02c609cc18ccd4b046526 /scripts/lib/devtool/build_sdk.py
parentb8009efc1976faa906a5fcaef1ef0ea30c6441d5 (diff)
downloadpoky-04e4586c66b61891f45438a6ff19d26cfe30d480.tar.gz
oeqa/sdk/maturin: be less picky in the list_python test
The test assumed that maturin would only find a single Python binary, in /usr/bin/python3*. However in eSDKs with buildtools a Python is shipped with the SDK, so the test failed. Generalise the test so that it runs python3 and obtains its path and version, and then verifies that path and and version are found by Maturin. This means we're not assuming a single Python, or the paths, or that the Python is CPython. (From OE-Core rev: ae9b5dae77ef140422fcf71d239ca028c9208447) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_sdk.py')
0 files changed, 0 insertions, 0 deletions