]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tox.ini: remove extraneous coverage --omit option 10943/head
authorJosh Durgin <jdurgin@redhat.com>
Wed, 31 Aug 2016 23:05:13 +0000 (16:05 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 31 Aug 2016 23:05:20 +0000 (16:05 -0700)
This option isn't eliminating anything in the runs I've seen, and it
causes the coverage command (and thus 'make check') to fail spuriously
if a parent directory contains 'test' or 'tox', since it filters out
all of the coverage data.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/ceph-detect-init/tox.ini
src/ceph-disk/tox.ini

index 3da7065864307fe0b63c778c59af38bdaccbb3d3..dd631a27d8461be586717ce38a57b03be68dea5e 100644 (file)
@@ -16,7 +16,7 @@ deps =
   -r{toxinidir}/test-requirements.txt
 
 commands = coverage run --source=ceph_detect_init {envbindir}/py.test -v tests
-           coverage report --omit=*test*,*tox* --show-missing --fail-under=100
+           coverage report --show-missing --fail-under=100
 
 [testenv:pep8]
 basepython = python2
index 786136e058f98eada49715dcb187622c0eccb272..87c13bca691d20ee7a7c15b7bc4c02e1258bcb85 100644 (file)
@@ -20,7 +20,7 @@ changedir = {env:CEPH_BUILD_DIR}
 commands = coverage run --append --source=ceph_disk {envbindir}/py.test -vv {toxinidir}/tests/test_main.py
            coverage run --append --source=ceph_disk {envbindir}/py.test -vv {toxinidir}/tests/test_prepare.py
            {toxinidir}/tests/ceph-disk.sh
-           coverage report --omit=*test*,*tox* --show-missing
+           coverage report --show-missing
 
 [testenv:flake8]
 commands = flake8 --ignore=H105,H405 ceph_disk tests