Fix use of bare "python" rather than $(PYTHON) in Makefile. 2438.fix-tests.2
authorDaira Hopwood <daira@jacaranda.org>
Wed, 16 Dec 2015 15:25:44 +0000 (15:25 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Wed, 16 Dec 2015 15:25:44 +0000 (15:25 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Makefile

index abda237a31a4c5f999d3550bdfa894d520d2113a..af74acda02ae3febcd16baaa30e336792c835eb5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -85,9 +85,9 @@ _tmpfstest: make-version
 
 .PHONY: smoketest
 smoketest:
-       -python ./src/allmydata/test/check_magicfolder_smoke.py kill
+       -$(PYTHON) ./src/allmydata/test/check_magicfolder_smoke.py kill
        -rm -rf smoke_magicfolder/
-       python ./src/allmydata/test/check_magicfolder_smoke.py
+       $(PYTHON) ./src/allmydata/test/check_magicfolder_smoke.py
 
 # code coverage: install the "coverage" package from PyPI, do "make test-coverage" to
 # do a unit test run with coverage-gathering enabled, then use "make coverage-output" to