From: Aarni Koskela Date: Thu, 27 Jan 2022 16:30:04 +0000 (+0200) Subject: Makefile: remove quietness from all commands + PYTHONWARNINGS overrides from tests X-Git-Tag: v2.10.0~21^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b590638ad9b56df40c1e9262ad8b0c2be80027e;p=thirdparty%2Fbabel.git Makefile: remove quietness from all commands + PYTHONWARNINGS overrides from tests --- diff --git a/Makefile b/Makefile index 59c8555d..be687629 100644 --- 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