Ignore integration test results in code coverage report.
authorScott Gasch <[email protected]>
Mon, 7 Feb 2022 02:36:50 +0000 (18:36 -0800)
committerScott Gasch <[email protected]>
Mon, 7 Feb 2022 02:36:50 +0000 (18:36 -0800)
tests/run_tests.sh

index 6255a69572bb2d232ea35955d8607269049ce392..547f87cdafccce5194dc989fe73ae59df53283d6 100755 (executable)
@@ -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:"