diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-11-17 01:43:44 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-11-17 19:10:51 -0500 |
commit | 908a78dbc249b8f9db5d5404ccd08809ea1964ef (patch) | |
tree | 556a99a7b07f454388a6a4a3d7c6a83077013bd6 /unittests/helpers.py | |
parent | 174e05d0f6ced6f5e74d70fb19485d2417340b54 (diff) | |
download | meson-908a78dbc249b8f9db5d5404ccd08809ea1964ef.zip meson-908a78dbc249b8f9db5d5404ccd08809ea1964ef.tar.gz meson-908a78dbc249b8f9db5d5404ccd08809ea1964ef.tar.bz2 |
tests: make the command tests work when python is not the one in the shebang
We test a couple ways of running the meson command, and double check
that the debug logs record the meson command used (including python).
But when running the meson command as an executable instead of as a
python script, we see whichever version `env` in the shebang sees.
Fix this by mocking the python command as well.
Diffstat (limited to 'unittests/helpers.py')
0 files changed, 0 insertions, 0 deletions