Stop printing warnings about ADB version
BUG=skia:5156 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1927973002 Review-Url: https://codereview.chromium.org/1927973002
This commit is contained in:
parent
d77ac77924
commit
8795962baf
@ -25,20 +25,3 @@ if [ ! -x $ADB ]; then
|
||||
echo "The adb binary is not executable"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $(uname) == "Linux" ]; then
|
||||
ADB_REQUIRED="1.0.32 or 1.0.35"
|
||||
elif [ $(uname) == "Darwin" ]; then
|
||||
ADB_REQUIRED="1.0.31 or 1.0.32"
|
||||
fi
|
||||
|
||||
# get the version string as an array, use just the version numbers
|
||||
ADB_VERSION="$($ADB version)"
|
||||
ADB_VERSION=($ADB_VERSION)
|
||||
ADB_VERSION=${ADB_VERSION[4]}
|
||||
|
||||
if [[ "$ADB_REQUIRED" != *"$ADB_VERSION"* ]]; then
|
||||
echo "WARNING: Your ADB version is out of date!"
|
||||
echo " Expected ADB Version: ${ADB_REQUIRED}"
|
||||
echo " Actual ADB Version: ${ADB_VERSION}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user