]> arthur.barton.de Git - bup.git/commitdiff
Run wvtest.py directly for lib tests
authorRob Browning <rlb@defaultvalue.org>
Thu, 7 Nov 2019 05:27:43 +0000 (23:27 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 1 Dec 2019 19:31:41 +0000 (13:31 -0600)
Run wvtest.py directly instead of via $(bup_python) so that it will
rely on cmd/bup-python and have the same environment that bup itself
does.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Makefile

index a9ddbd15b106f20e6d15ab042964b3c863bc0222..338d5958785f443cf7dba9aa2f8038b5f6e60b96 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -164,7 +164,7 @@ endif
 runtests-python: all t/tmp
        mkdir -p t/tmp/test-log
        $(pf); cd $$(pwd -P); TMPDIR="$(test_tmp)" \
-         "$(bup_python)" wvtest.py  $(python_tests) 2>&1 \
+         ./wvtest.py  $(python_tests) 2>&1 \
            | tee -a t/tmp/test-log/$$$$.log
 
 cmdline_tests :=