ci: lib: allow override of tests_repo

Only set the tests_repo url to the default if it is not
set already.

Fixes: #71

Signed-off-by: Graham whaley <graham.whaley@intel.com>
This commit is contained in:
Graham whaley 2018-03-23 09:54:59 +00:00
parent d0b3cf6d36
commit 93146d91dc

View File

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
export tests_repo="github.com/kata-containers/tests"
export tests_repo="${tests_repo:-github.com/kata-containers/tests}"
export tests_repo_dir="$GOPATH/src/$tests_repo"
clone_tests_repo()