mirror of
https://github.com/bspeice/libcvautomation
synced 2024-12-04 13:58:11 -05:00
Make sure libcvautomation_funcs is using the $TIMEOUT option
This commit is contained in:
parent
9cc8a45969
commit
673f302f2d
@ -159,7 +159,7 @@ click_i ()
|
||||
TOLERANCE_OPTION="-t"
|
||||
fi
|
||||
|
||||
eval "$CVAINPUT $TOLERANCE_OPTION $TOLERANCE --search-method $SEARCH_METHOD -s 'waitfor $x' >> $OUTFILE"
|
||||
eval "$CVAINPUT $TOLERANCE_OPTION $TOLERANCE --search-method $SEARCH_METHOD --timeout $TIMEOUT -s 'waitfor $x' >> $OUTFILE"
|
||||
CVA_RETURN=$?
|
||||
|
||||
if [ $CVA_RETURN -lt $RETURN_CODE ]; then
|
||||
@ -322,7 +322,7 @@ hover_i ()
|
||||
TOLERANCE_OPTION="-t"
|
||||
fi
|
||||
|
||||
eval "$CVAINPUT $TOLERANCE_OPTION $TOLERANCE --search-method $SEARCH_METHOD -s 'waitfor $x' >> $OUTFILE"
|
||||
eval "$CVAINPUT $TOLERANCE_OPTION $TOLERANCE --search-method $SEARCH_METHOD --timeout $TIMEOUT -s 'waitfor $x' >> $OUTFILE"
|
||||
CVA_RETURN=$?
|
||||
|
||||
if [ $CVA_RETURN -lt $RETURN_CODE ]; then
|
||||
@ -488,7 +488,7 @@ waitfor ()
|
||||
|
||||
out "waitfor: $1"
|
||||
|
||||
eval '$CVAINPUT -s "waitfor $1" >> $OUTFILE'
|
||||
eval '$CVAINPUT --timeout $TIMEOUT -s "waitfor $1" >> $OUTFILE'
|
||||
|
||||
return $?
|
||||
} # ---------- end of function waitfor ----------
|
||||
|
Loading…
Reference in New Issue
Block a user