From 2fb057d93618a9635b250e32187d81b9db694bca Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 15 Oct 2015 19:39:55 +0200 Subject: [PATCH] call python3 when testing --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.43.0