Skip to content

Conversation

@pratlucas
Copy link
Contributor

Currently, the wrapper command for running picolibc tests in ATfE
includes a direct call to the picolibc-test-wrapper.py script, relying
on the script's shebang line to invoke the python interpreter. This is a
problem for invoking tests on Windows platofrms, as the naming of the
Python 3 executable is not consistent with the one used on Unix - i.e.
python vs python3.
To fix this problem, this change adds the path for the python executable
to that call. The path used is the one discovered by CMake as part of
the find_package(Python3 ...) command.

Cherry-picked from commit 9b283bc (#70)

Currently, the wrapper command for running picolibc tests in ATfE
includes a direct call to the `picolibc-test-wrapper.py` script, relying
on the script's shebang line to invoke the python interpreter. This is a
problem for invoking tests on Windows platofrms, as the naming of the
Python 3 executable is not consistent with the one used on Unix - i.e.
python vs python3.
To fix this problem, this change adds the path for the python executable
to that call. The path used is the one discovered by CMake as part of
the `find_package(Python3 ...)` command.

Cherry-picked from commit 9b283bc (arm#70)
@pratlucas pratlucas merged commit cd2b68e into arm:release/arm-software/20.x Feb 10, 2025
@pratlucas pratlucas deleted the cherry-pick-70 branch February 10, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants