]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/autorun.sh
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / autorun.sh
1 #!/usr/bin/env bash
2
3 set -e
4
5 rootdir=$(readlink -f $(dirname $0))
6
7 conf=~/autorun-spdk.conf
8
9 # If the configuration of tests is not provided, no tests will be carried out.
10 if [[ ! -f $conf ]]; then
11 echo "ERROR: $conf doesn't exist"
12 exit 1
13 fi
14
15 echo "Test configuration:"
16 cat "$conf"
17
18 # Runs agent scripts
19 $rootdir/autobuild.sh "$conf"
20 sudo -E WITH_DPDK_DIR="$WITH_DPDK_DIR" $rootdir/autotest.sh "$conf"
21 $rootdir/autopackage.sh "$conf"