From 95a7bc41780a2cbd37a9715fe27c8f42ecee92d0 Mon Sep 17 00:00:00 2001 From: anmyachev <45976948+anmyachev@users.noreply.github.com> Date: Fri, 26 Jul 2019 16:17:37 +0300 Subject: [PATCH] tests folder should be omitted for coverage run (#98) --- buildscripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/test.sh b/buildscripts/test.sh index 8738b25f2..45003b450 100755 --- a/buildscripts/test.sh +++ b/buildscripts/test.sh @@ -8,7 +8,7 @@ python hpat/tests/gen_test_data.py if [ "$RUN_COVERAGE" == "yes" ]; then export PYTHONPATH=. coverage erase - coverage run --source=./hpat --omit ./hpat/ml/*,./hpat/xenon_ext.py,./hpat/ros.py,./hpat/cv_ext.py,./hpat/tests/gen_test_data.py -m unittest + coverage run --source=./hpat --omit ./hpat/ml/*,./hpat/xenon_ext.py,./hpat/ros.py,./hpat/cv_ext.py,./hpat/tests/* -m unittest else mpiexec -n $NUM_PES python -u -m unittest -v fi