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