summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-25 15:39:01 -0400
committerDavid Robillard <d@drobilla.net>2022-05-25 15:39:01 -0400
commit7f723b48680fdb6a1575ea00aa03714ba811626b (patch)
tree245dcb11660eb4d648800ac4f31a842dec14b970 /wscript
parent678353c05cc1d76b7da0ca4bfe65cc9bf6ecb775 (diff)
downloadlilv-7f723b48680fdb6a1575ea00aa03714ba811626b.tar.gz
lilv-7f723b48680fdb6a1575ea00aa03714ba811626b.tar.bz2
lilv-7f723b48680fdb6a1575ea00aa03714ba811626b.zip
Fix Python tests on systems without a "python" executable
A minimal installation of Debian 11 (bullseye), for example, only has "python3".
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index e57bbfb..f5ee83a 100644
--- a/wscript
+++ b/wscript
@@ -581,7 +581,7 @@ def test(tst):
if tst.env.LILV_PYTHON:
with tst.group('python') as check:
- check(['python', '-m', 'unittest', 'discover', 'bindings/'])
+ check([tst.env.PYTHON[0], '-m', 'unittest', 'discover', 'bindings/'])
with tst.group('plugin') as check:
for p in test_plugins: