2016-08-01 17:48:27 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
rootdir=$(readlink -f $(dirname $0))
|
|
|
|
|
2017-05-02 00:34:15 +00:00
|
|
|
conf=~/autorun-spdk.conf
|
|
|
|
|
2019-05-09 14:31:16 +00:00
|
|
|
# If the configuration of tests is not provided, no tests will be carried out.
|
|
|
|
if [[ ! -f $conf ]]; then
|
|
|
|
echo "ERROR: $conf doesn't exist"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "Test configuration:"
|
|
|
|
cat "$conf"
|
|
|
|
|
2016-08-01 17:48:27 +00:00
|
|
|
# Runs agent scripts
|
2017-05-02 00:34:15 +00:00
|
|
|
$rootdir/autobuild.sh "$conf"
|
2019-06-25 07:58:35 +00:00
|
|
|
sudo -E WITH_DPDK_DIR="$WITH_DPDK_DIR" $rootdir/autotest.sh "$conf"
|
2017-05-02 00:34:15 +00:00
|
|
|
$rootdir/autopackage.sh "$conf"
|