4 # Get CSIT branch from which to test from
5 # running build-root/scripts/csit-test-branch
6 if [ -x build-root/scripts/csit-test-branch ]; then
7 CSIT_BRANCH=`build-root/scripts/csit-test-branch`;
10 # Clone csit and start tests
11 git clone https://gerrit.fd.io/r/csit --branch ${CSIT_BRANCH:-csit-verified}
13 # If the git clone fails, complain clearly and exit
15 echo "Failed to run: git clone https://gerrit.fd.io/r/csit --branch ${CSIT_BRANCH:-csit-verified}"
16 echo "No such branch ${CSIT_BRANCH:-csit-verified} in https://gerrit.fd.io/r/csit"
20 cp build-root/*.deb csit/
22 # execute csit bootstrap script if it exists
23 if [ -e bootstrap.sh ]
25 # make sure that bootstrap.sh is executable
30 echo 'ERROR: No bootstrap.sh found'
34 # vim: ts=4 ts=4 sts=4 et :