49473bdc81
Get rid of WITH_DPDK_DIR and SPDK_RUN_INSTALLED_DPDK, introduce SPDK_RUN_EXTERNAL_DPDK which can point to a DPDK dir. It's an empty string by default. Change-Id: Iff2b3773a4614db07f4196165087a79472e02b9a Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/867 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
22 lines
405 B
Bash
Executable File
22 lines
405 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
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 -E $rootdir/autotest.sh "$conf"
|
|
$rootdir/autopackage.sh "$conf"
|