Skip to content

Commit

Permalink
change: pass WITH_COVERAGE=1 explicitly on running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Jan 14, 2018
1 parent c02e8a1 commit 3557a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/run-backend-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ runtest_sh=${curdir}/runtest.sh

moddir=$(ls -d1 ${topdir}/anyconfig_*_backend/ | head -n 1)

bash ${runtest_sh} ${moddir}
WITH_COVERAGE=1 bash ${runtest_sh} ${moddir}
for f in $(echo ${topdir}/tests/*.py | sort); do
bash ${runtest_sh} $f
WITH_COVERAGE=1 bash ${runtest_sh} $f
done

#coverage run --source=${moddir},tests/
Expand Down

0 comments on commit 3557a0f

Please sign in to comment.