summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-01-25 13:22:50 -0800
committerbnewbold <bnewbold@robocracy.org>2016-01-25 13:22:50 -0800
commite4690f4499f8ead096d6a39139ffb3f337b3a64a (patch)
tree6249bc721fbd97d2e60d089a7a51010123362934
parent0343c389b5de6a6bdce76dde9ed44a596893dea5 (diff)
downloadbasebasebase-e4690f4499f8ead096d6a39139ffb3f337b3a64a.tar.gz
basebasebase-e4690f4499f8ead096d6a39139ffb3f337b3a64a.zip
tests: improve run_all_tests.sh
-rw-r--r--.gitignore2
-rwxr-xr-xtests/run_all_tests.sh10
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"