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:
Doug Hellmann 2012-05-30 12:00:59 -04:00
parent 697c4c1051
commit 3fcb8da4a1
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ TAGS
build
.coverage
.tox
cover

View File

@ -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