pytestCheckHook: Fix support for multiple files.
Quoting here will lead to the shell treating them as a single item.
This commit is contained in:
parent
45e5ebfad8
commit
0f5743bee2
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function pytestCheckPhase() {
|
|||
disabledTestsString=$(_pytestComputeDisabledTestsString "${disabledTests[@]}")
|
||||
args+=" -k \""$disabledTestsString"\""
|
||||
fi
|
||||
for file in "${disabledTestFiles[@]}"; do
|
||||
for file in ${disabledTestFiles[@]}; do
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "Disabled test file \"$file\" does not exist. Aborting"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue