Make the stand-alone test script mimic tox
The tox setup does not work on Ubuntu Precise for some reason, but running nose directly does. This update tweaks the stand-alone script run_tests.sh to mimic the behavior of tox. It also adds the "cover" directory created by the coverage plugin to nose to the list of files being ignored by git. Change-Id: I65224cf4bf75e6b7fc0207b3545c466bdac5a35c
This commit is contained in:
parent
697c4c1051
commit
3fcb8da4a1
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ TAGS
|
||||
build
|
||||
.coverage
|
||||
.tox
|
||||
cover
|
||||
|
@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Simple test runner, should be replaced with tox
|
||||
|
||||
rm -rf cover
|
||||
nosetests -P -d -v --with-coverage --cover-package=ceilometer --cover-inclusive tests
|
||||
tox -e pep8
|
||||
|
Loading…
Reference in New Issue
Block a user