]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Makefile: remove quietness from all commands + PYTHONWARNINGS overrides from tests
authorAarni Koskela <akx@iki.fi>
Thu, 27 Jan 2022 16:30:04 +0000 (18:30 +0200)
committerAarni Koskela <akx@iki.fi>
Thu, 27 Jan 2022 16:38:04 +0000 (18:38 +0200)
Makefile

index 59c8555d96d18d65daded8bf2746f66b60e8e805..be687629dd613f4a61a7f8895e100a93243014eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,38 +1,38 @@
 test: import-cldr
-       @PYTHONWARNINGS=default python ${PYTHON_TEST_FLAGS} -m pytest
+       python ${PYTHON_TEST_FLAGS} -m pytest
 
 test-cov: import-cldr
-       @PYTHONWARNINGS=default python ${PYTHON_TEST_FLAGS} -m pytest --cov=babel
+       python ${PYTHON_TEST_FLAGS} -m pytest --cov=babel
 
 test-env:
-       @virtualenv test-env
-       @test-env/bin/pip install pytest
-       @test-env/bin/pip install --editable .
+       virtualenv test-env
+       test-env/bin/pip install pytest
+       test-env/bin/pip install --editable .
 
 clean-test-env:
-       @rm -rf test-env
+       rm -rf test-env
 
 standalone-test: import-cldr test-env
-       @test-env/bin/pytest tests
+       test-env/bin/pytest tests ${PYTEST_FLAGS}
 
 clean: clean-cldr clean-pyc clean-test-env
 
 import-cldr:
-       @python scripts/download_import_cldr.py
+       python scripts/download_import_cldr.py
 
 clean-cldr:
-       @rm -f babel/locale-data/*.dat
-       @rm -f babel/global.dat
+       rm -f babel/locale-data/*.dat
+       rm -f babel/global.dat
 
 clean-pyc:
-       @find . -name '*.pyc' -exec rm {} \;
-       @find . -name '__pycache__' -type d | xargs rm -rf
+       find . -name '*.pyc' -exec rm {} \;
+       find . -name '__pycache__' -type d | xargs rm -rf
 
 develop:
-       @pip install --editable .
+       pip install --editable .
 
 tox-test: import-cldr
-       @tox
+       tox
 
 upload-docs:
        $(MAKE) -C docs html dirhtml latex