diff options
author | Paul Brossier <piem@debian.org> | 2023-01-15 21:40:50 +0100 |
---|---|---|
committer | IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> | 2023-01-15 21:40:50 +0100 |
commit | a0543fa159b09c105ee459365a44389bdc5f5ca1 (patch) | |
tree | e62f4c361967aac460aa608dd00223d7a2496cae | |
parent | 004d9127286666264be815b207ff08ab5d58b584 (diff) |
use current interpreter to create test sound files
Forwarded: not-needed
Last-Update: 2020-01-02
This patch ensures the current interpreter is used to run create_tests_source.
Gbp-Pq: Name wscript_py3.patch
-rw-r--r-- | tests/wscript_build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wscript_build b/tests/wscript_build index c99a051..c0325ea 100644 --- a/tests/wscript_build +++ b/tests/wscript_build @@ -1,5 +1,6 @@ # vim:set syntax=python: +import sys import os.path uselib = ['aubio'] @@ -13,7 +14,7 @@ test_sound_abspath = bld.path.get_bld().make_node(test_sound_target) test_sound_abspath = str(test_sound_abspath).replace('\\', '\\\\') b = bld(name='create_tests_source', - rule='python ${SRC} ${TGT}', + rule=sys.executable + ' ${SRC} ${TGT}', source='create_tests_source.py', target=test_sound_target) # use post() to create the task, keep a reference to it |