pytestCheckHook: Fix support for spaces in disabled file paths
This commit is contained in:
parent
7b1310166c
commit
45e5ebfad8
@ -42,7 +42,7 @@ function pytestCheckPhase() {
|
|||||||
echo "Disabled test file \"$file\" does not exist. Aborting"
|
echo "Disabled test file \"$file\" does not exist. Aborting"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
args+=" --ignore=$file"
|
args+=" --ignore=\"$file\""
|
||||||
done
|
done
|
||||||
args+=" ${pytestFlagsArray[@]}"
|
args+=" ${pytestFlagsArray[@]}"
|
||||||
eval "@pythonCheckInterpreter@ $args"
|
eval "@pythonCheckInterpreter@ $args"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user