Configure coverage to cover only gbs modules
authorEd Bartosh <eduard.bartosh@intel.com>
Fri, 7 Dec 2012 14:37:31 +0000 (16:37 +0200)
committerZhang Qiang <qiang.z.zhang@intel.com>
Tue, 11 Dec 2012 11:12:33 +0000 (19:12 +0800)
Previous attempt to configure coverage with setup.cfg was not working
properly. It can be seen in OTC Tools Tester Jenkins job as coverage
report includes gbp and even nose modules. This change is the second
attempt to fix the issue. Expected result is to see only gbs modules in
Jenkins coverage report.

Change-Id: I19c5d4624ce4338a5c6a3d7cb1815bbea5bd05b7
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
.coveragerc [new file with mode: 0644]
setup.cfg [deleted file]

diff --git a/.coveragerc b/.coveragerc
new file mode 100644 (file)
index 0000000..a2c4f0b
--- /dev/null
@@ -0,0 +1,3 @@
+[run]
+include = tools/gbs
+          gitbuildsys/*
diff --git a/setup.cfg b/setup.cfg
deleted file mode 100644 (file)
index d0e0c4d..0000000
--- a/setup.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-[nosetests]
-cover-package=gitbuildsys