aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/setup.cfg
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-04-10 13:22:35 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-13 22:28:33 +0100
commit510dadc2cd8ff8a09932c101512dba74d4624a07 (patch)
treee006605562ab28c5c265d9fe9f57e138c5dce70d /scripts/setup.cfg
parent8cb9ac3751424d429a38f6f80d733b289b6684ea (diff)
downloadopenembedded-core-contrib-510dadc2cd8ff8a09932c101512dba74d4624a07.tar.gz
wic: setup infrastructure for nosetests
cd scripts && nosetests runs 3 simple tests and produces nice test coverage report for wic codebase. This infra can be used to test other scripts and modules. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/setup.cfg')
-rw-r--r--scripts/setup.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/setup.cfg b/scripts/setup.cfg
new file mode 100644
index 0000000000..48a0bb2f4f
--- /dev/null
+++ b/scripts/setup.cfg
@@ -0,0 +1,6 @@
+[nosetests]
+verbosity=2
+exe=1
+with-coverage=1
+cover-erase=1
+cover-package=wic,image