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/
21 if [ -e dpdk/vpp-dpdk-dkms*.deb ]
23 cp dpdk/vpp-dpdk-dkms*.deb csit/
25 cp /var/cache/apt/archives/vpp-dpdk-dkms*.deb csit/
29 # execute csit bootstrap script if it exists
30 if [ -e bootstrap.sh ]
32 # make sure that bootstrap.sh is executable
37 echo 'ERROR: No bootstrap.sh found'
41 # vim: ts=4 ts=4 sts=4 et :