From e4690f4499f8ead096d6a39139ffb3f337b3a64a Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 25 Jan 2016 13:22:50 -0800 Subject: tests: improve run_all_tests.sh --- .gitignore | 2 ++ tests/run_all_tests.sh | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7c80b97..835793e 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,8 @@ _build/ src/build/ *.log coverage_html_report +tests/coverage_html_report +tests/coverage3_html_report unused # Don't ignore this file itself diff --git a/tests/run_all_tests.sh b/tests/run_all_tests.sh index b17a34a..b391a61 100755 --- a/tests/run_all_tests.sh +++ b/tests/run_all_tests.sh @@ -5,9 +5,11 @@ set -e nosetests3 --version > /dev/null nosetests3 -v --logging-level INFO --with-coverage --cover-erase -python-coverage --version > /dev/null -python-coverage html 2> /dev/null +#python-coverage --version > /dev/null +#python-coverage html --omit="*/test*" -d tests/coverage2_html_report 2> /dev/null -coverage3 --version > /dev/null -coverage3 html 2> /dev/null +python3-coverage --version > /dev/null +python3-coverage html --omit="*/test*" -d tests/coverage3_html_report 2> /dev/null +echo "" +echo "To see coverage results open tests/coverage3_html_report/index.html" -- cgit v1.2.3