call python3 when testing
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 15 Oct 2015 17:39:55 +0000 (19:39 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 15 Oct 2015 17:39:55 +0000 (19:39 +0200)
Makefile

index c9deb28..1312f61 100644 (file)
--- 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: