diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-27 12:36:23 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-27 12:36:23 +0200 |
commit | 8a98dd8b239abfd6b9eafceaa83980b03b82041b (patch) | |
tree | ea3079da8ca16d143e6efd4740f946004555f6b3 | |
parent | 4a1c33d364a5116d00bd373ab26bcb4d1f4822d7 (diff) | |
download | babel-8a98dd8b239abfd6b9eafceaa83980b03b82041b.tar.gz |
Added standalone test command
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 12 insertions, 3 deletions
@@ -8,6 +8,7 @@ build dist .DS_Store .tox +test-env **/__pycache__ babel/global.dat tests/messages/data/project/i18n/long_messages.pot @@ -1,5 +1,13 @@ test: import-cldr - @py.test + @py.test tests + +create-test-env: + @virtualenv test-env + @test-env/bin/pip install pytest + @test-env/bin/pip install --editable . + +standalone-test: import-cldr create-test-env + @test-env/bin/py.test tests clean: clean-cldr clean-pyc @@ -32,4 +40,4 @@ upload-docs: release: python scripts/make-release.py -.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean release upload-docs +.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean release upload-docs create-test-env standalone-test @@ -5,4 +5,4 @@ envlist = py26, py27, pypy, py33 deps = pytz pytest -commands = py.test [] +commands = py.test tests |