blob: e1ad5f9ae1c543a29d1a2d40d5ebb2b740cd9a5c [file] [log] [blame]
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Fetch the test images into ./images if that directory does not exist.
[[ -d images ]] && exit 0
read -p "npm run test needs test images: install them now (y/n)? " ANSWER
case ${ANSWER} in
[Yy]*) git clone images
exit $!;;
[Nn]*|*) ;;