[vlc-commits] python: make test default target is python3

Olivier Aubert git at videolan.org
Sun Jan 10 11:55:55 UTC 2021


vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Sun Jan 10 12:55:29 2021 +0100| [cf2854df0313351f529772583da86d9052436768] | committer: Olivier Aubert

python: make test default target is python3

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=cf2854df0313351f529772583da86d9052436768
---

 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index ab4c2da..f8f2f74 100644
--- a/Makefile
+++ b/Makefile
@@ -59,11 +59,11 @@ $(VERSIONED_NAME): generator/generate.py generator/templates/header.py generator
 doc: $(VERSIONED_NAME)
 	-epydoc -v -o doc $<
 
-test: $(MODULE_NAME)
+test2: $(MODULE_NAME)
 	PYTHONPATH=$(DEV_PATH):$(PROJECT_ROOT) python tests/test.py
 	PYTHONPATH=$(VERSIONED_PATH):$(PROJECT_ROOT) python tests/test.py
 
-test3: $(MODULE_NAME)
+test: $(MODULE_NAME)
 	PYTHONPATH=$(DEV_PATH):$(PROJECT_ROOT) python3 tests/test.py
 	PYTHONPATH=$(VERSIONED_PATH):${PROJECT_ROOT} python3 tests/test.py
 
@@ -73,7 +73,7 @@ sdist: $(VERSIONED_NAME)
 publish: $(VERSIONED_NAME)
 	cd $(VERSIONED_PATH); python3 setup.py bdist_wheel sdist && twine upload dist/*
 
-tests: test test3
+tests: test test2
 
 check: $(MODULE_NAME)
 	-pyflakes $<



More information about the vlc-commits mailing list