diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cover.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/cover.sh b/tools/cover.sh index 8acfb56..d8170ba 100644 --- a/tools/cover.sh +++ b/tools/cover.sh @@ -44,11 +44,12 @@ run_coverage_test() { # Temporarily run tests from two directories, until all tests have moved coverage run -p -m unittest discover ./tests/unit - coverage run -p -m unittest discover ./vnftest/tests/unit + coverage run -p -m unittest discover ./vnftest/tests/unit/core + coverage run -p -m unittest discover ./vnftest/tests/unit/onap coverage combine # Temporarily omit vnftest/tests from the report - coverage report --omit=vnftest/tests/*/* > ${baseline_report} + coverage report > ${baseline_report} coverage erase # debug awk @@ -71,7 +72,8 @@ run_coverage_test() { # Temporarily run tests from two directories, until all tests have moved coverage run -p -m unittest discover ./tests/unit - coverage run -p -m unittest discover ./vnftest/tests/unit + coverage run -p -m unittest discover ./vnftest/tests/unit/core + coverage run -p -m unittest discover ./vnftest/tests/unit/onap coverage combine # Temporarily omit vnftest/tests from the report |