Use tox in Makefile targets
Modify the Makefile to point at the appropriate tox targets so that tox and Make output can be equivalent. This involves mapping the lint target to the pep8 target and the test target to the py27 target. Change-Id: I42decd23a11ca891b76b0cfa939d161654f50c34
This commit is contained in:
parent
c620121e03
commit
96f8e03d32
5
Makefile
5
Makefile
|
@ -9,7 +9,7 @@ clean:
|
|||
find . -name '*.pyc' -delete
|
||||
|
||||
lint:
|
||||
tox -e pep8
|
||||
@tox -e pep8
|
||||
|
||||
bin/charm_helpers_sync.py:
|
||||
@mkdir -p bin
|
||||
|
@ -25,7 +25,8 @@ publish: lint test
|
|||
bzr push lp:charms/trusty/rabbitmq-server
|
||||
|
||||
test:
|
||||
tox -e py27
|
||||
@echo Starting unit tests...
|
||||
@tox -e py27
|
||||
|
||||
functional_test:
|
||||
@echo Starting amulet tests...
|
||||
|
|
Loading…
Reference in New Issue