From 4432d4959181c2fc9ad8067264b6fd216a68161a Mon Sep 17 00:00:00 2001 From: Pavan Chandrashekar Date: Tue, 10 Mar 2020 12:41:16 -0700 Subject: [PATCH] Minor fix. Coverage uses bourne shell, not bash --- script/coverage | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/script/coverage b/script/coverage index 69fc844..9dd0d89 100755 --- a/script/coverage +++ b/script/coverage @@ -27,10 +27,9 @@ export DYN_USERNAME= export GOOGLE_APPLICATION_CREDENTIALS= -OMIT_PATHS=("octodns/cmds/*" - "octodns/provider/transip*.py") # FIXME Transip tests are failing. Omitting them until they are fixed +OMIT_PATHS="octodns/cmds/*,octodns/provider/transip*.py" # FIXME Transip tests are failing. Omitting them until they are fixed -coverage run --branch --source=octodns --omit=$(echo ${OMIT_PATHS[@]} | tr ' ' ',') "$(command -v nosetests)" --with-xunit "$@" +coverage run --branch --source=octodns --omit=${OMIT_PATHS} "$(command -v nosetests)" --with-xunit "$@" coverage html coverage xml coverage report --show-missing