diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-04-10 13:22:35 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-13 22:33:20 +0100 |
| commit | 9e80d79c59609f6bc405139ec2a0b6a2a619517c (patch) | |
| tree | 89b6885555e58950777765fad93ff0218c7c39f3 /scripts/setup.cfg | |
| parent | 3a60a23141a55e4733e0f66c361c62b6e173d68f (diff) | |
| download | poky-9e80d79c59609f6bc405139ec2a0b6a2a619517c.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.
(From OE-Core rev: 510dadc2cd8ff8a09932c101512dba74d4624a07)
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.cfg | 6 |
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 @@ | |||
| 1 | [nosetests] | ||
| 2 | verbosity=2 | ||
| 3 | exe=1 | ||
| 4 | with-coverage=1 | ||
| 5 | cover-erase=1 | ||
| 6 | cover-package=wic,image | ||
