From: Scott Gasch Date: Mon, 7 Feb 2022 02:36:50 +0000 (-0800) Subject: Ignore integration test results in code coverage report. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=d2357ff35e7752ae3eb6caa2813c35c17fea778b;p=python_utils.git Ignore integration test results in code coverage report. --- diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 6255a69..547f87c 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -160,11 +160,11 @@ fi if [ ${COVERAGE} -eq 1 ]; then make_header "Code Coverage Report" "${GREEN}" - coverage report --omit=config-3.8.py,*_test.py --sort=-cover + coverage report --omit=config-3.8.py,*_test.py,*_itest.py --sort=-cover echo echo "To recall this report w/o run-running the tests:" echo - echo " $ coverage report --omit=config-3.8.py,*_test.py --sort=-cover" + echo " $ coverage report --omit=config-3.8.py,*_test.py,*_itest.py --sort=-cover" echo echo "...from the 'tests' directory. Note that subsequent calls to " echo "run_tests.sh with --coverage will klobber previous results. See:"