diff --git a/autorun.sh b/autorun.sh index 6493b39d8..26a594ce5 100755 --- a/autorun.sh +++ b/autorun.sh @@ -6,6 +6,15 @@ rootdir=$(readlink -f $(dirname $0)) conf=~/autorun-spdk.conf +# 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" + # Runs agent scripts $rootdir/autobuild.sh "$conf" sudo WITH_DPDK_DIR="$WITH_DPDK_DIR" $rootdir/autotest.sh "$conf"