Skip to content

Commit

Permalink
tests: check for dependencies when setting up blink tools (#11437)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Sep 15, 2020
1 parent 11cf91a commit c52552b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lighthouse-core/test/chromium-web-tests/download-blink-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ commit_catapult="95c1f426155576790a73778571c34a0f3cd6d608"

VERSIONED_DIR="$BLINK_TOOLS_PATH/$commit_chromium$commit_catapult"

if ! type -P wget; then
echo "wget could not be found"
exit 1
fi
if ! type -P tar; then
echo "tar could not be found"
exit 1
fi
if ! type -P git; then
echo "git could not be found"
exit 1
fi

if [ -e "$VERSIONED_DIR" ]; then
echo "cached blink tools found"
else
Expand Down

0 comments on commit c52552b

Please sign in to comment.