From: Thierry Parmentelat Date: Thu, 15 Oct 2015 17:39:55 +0000 (+0200) Subject: call python3 when testing X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2fb057d93618a9635b250e32187d81b9db694bca;p=nepi.git call python3 when testing --- diff --git a/Makefile b/Makefile index c9deb28d..1312f614 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ test: all retval=0; \ for i in `find "$(TESTDIR)" -iname '*.py' -perm -u+x -type f`; do \ echo $$i; \ - PYTHONPATH="$(PYPATH)" $$i -v || retval=$$?; \ + PYTHONPATH="$(PYPATH)" python3 $$i -v || retval=$$?; \ done; exit $$retval ifeq ($(file),) @@ -27,7 +27,7 @@ test-one: else test-one: all echo $(file) $(case) - PYTHONPATH="$(PYPATH)" $(file) $(case) + PYTHONPATH="$(PYPATH)" python3 $(file) $(case) endif test-app: