tools: Rename force argument to skip-provision-check

This commit renames --force argument used with various tests to
--skip-provision-check. As a consequence of this name change all other
files that set --force option for the test commands have been updated.

This change is done in order to provide more clarity for using this
option for runnning tests.

This commit addresses issue #17455.
This commit is contained in:
m-e-l-u-h-a-n
2021-03-03 01:29:19 +05:30
committed by Tim Abbott
parent ca515e5583
commit 911c5f19f1
13 changed files with 30 additions and 25 deletions

View File

@@ -19,10 +19,10 @@ if [ ${#changed_files} -eq 0 ]; then
fi
if [ -z "$VIRTUAL_ENV" ] && command -v vagrant >/dev/null && [ -e .vagrant ]; then
vcmd="/srv/zulip/tools/lint --skip=gitlint --force $(printf '%q ' "${changed_files[@]}") || true"
vcmd="/srv/zulip/tools/lint --skip=gitlint --skip-provision-check $(printf '%q ' "${changed_files[@]}") || true"
echo "Running lint using vagrant..."
vagrant ssh -c "$vcmd"
else
./tools/lint --skip=gitlint --force "${changed_files[@]}" || true
./tools/lint --skip=gitlint --skip-provision-check "${changed_files[@]}" || true
fi
exit 0