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
@ -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 New Issue
Block a user