mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-19 00:04:52 -04:00
fix print spell check progress on Travis to avoid timeouts (followup 6cc58f3869a7f0642a78ee8f379e0b7862292c0b)
This commit is contained in:
parent
72342557c3
commit
293e1ee01c
@ -28,7 +28,7 @@ if [[ "$OSTYPE" =~ darwin* ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ARGUMENTS
|
# ARGUMENTS
|
||||||
INTERACTIVE=$( ( tty -s || [[ "$TRAVIS" =~ true ]] ) && echo YES || echo NO)
|
INTERACTIVE=$( tty -s && echo YES || echo NO)
|
||||||
DEBUG=NO
|
DEBUG=NO
|
||||||
OUTPUTLOG=""
|
OUTPUTLOG=""
|
||||||
while getopts ":rdl:" opt; do
|
while getopts ":rdl:" opt; do
|
||||||
@ -77,7 +77,7 @@ declare -A GLOBREP_IGNORE=()
|
|||||||
ERRORFOUND=NO
|
ERRORFOUND=NO
|
||||||
|
|
||||||
for I in $(seq -f '%02g' 0 $(($SPLIT-1)) ) ; do
|
for I in $(seq -f '%02g' 0 $(($SPLIT-1)) ) ; do
|
||||||
[[ "$INTERACTIVE" =~ YES ]] && printf "Progress: %d/%d\n" $I $SPLIT
|
( [[ "$INTERACTIVE" =~ YES ]] || [[ "$TRAVIS" =~ true ]] ) && printf "Progress: %d/%d\n" $I $SPLIT
|
||||||
SPELLFILE=spelling$I~
|
SPELLFILE=spelling$I~
|
||||||
|
|
||||||
# if correction contains an uppercase letter and is the same as the error character wise, this means that the error is searched as a full word and case sensitive (not incorporated in a bigger one)
|
# if correction contains an uppercase letter and is the same as the error character wise, this means that the error is searched as a full word and case sensitive (not incorporated in a bigger one)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user