X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=tests%2Frun_tests.sh;h=547f87cdafccce5194dc989fe73ae59df53283d6;hb=532df2c5b57c7517dfb3dddd8c1358fbadf8baf3;hp=016ac446467771c4ffde9f53d483cd6845830497;hpb=f65e30c79a4425a5ec49f4785c44655d59986ca6;p=python_utils.git diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 016ac44..547f87c 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -143,8 +143,8 @@ fi if [ ${INTEGRATION} -eq 1 ]; then for test in $(find ${ROOT} -name "*_itest.py" -print); do BASE=$(basename ${test}) - BASE="${BASE} (integration test)" - make_header "${BASE}" "${ORANGE}" + HDR="${BASE} (integration test)" + make_header "${HDR}" "${ORANGE}" if [ ${COVERAGE} -eq 1 ]; then coverage run --source ${HOME}/lib --append ${test} else @@ -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:"