mirror of
https://github.com/bspeice/libcvautomation
synced 2024-12-04 13:58:11 -05:00
Make sure that the waitfor function uses the tolerance
This commit is contained in:
parent
aff47435a9
commit
bf0e01bb66
@ -508,7 +508,11 @@ waitfor ()
|
||||
|
||||
out "waitfor: $1"
|
||||
|
||||
eval '$CVAINPUT --timeout $TIMEOUT -s "waitfor $1" >> $OUTFILE'
|
||||
if [ -n "$USE_SANE_TOLERANCE" ]; then
|
||||
eval '$CVAINPUT -o $TOLERANCE --search-method $SEARCH_METHOD --timeout $TIMEOUT -s "waitfor $1" >> $OUTFILE'
|
||||
else
|
||||
eval '$CVAINPUT -t $TOLERANCE --search-method $SEARCH_METHOD --timeout $TIMEOUT -s "waitfor $1" >> $OUTFILE'
|
||||
fi
|
||||
|
||||
return $?
|
||||
} # ---------- end of function waitfor ----------
|
||||
|
Loading…
Reference in New Issue
Block a user