summaryrefslogtreecommitdiffstats
path: root/src/spdk/autorun.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/spdk/autorun.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/spdk/autorun.sh b/src/spdk/autorun.sh
new file mode 100755
index 00000000..6493b39d
--- /dev/null
+++ b/src/spdk/autorun.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+set -e
+
+rootdir=$(readlink -f $(dirname $0))
+
+conf=~/autorun-spdk.conf
+
+# Runs agent scripts
+$rootdir/autobuild.sh "$conf"
+sudo WITH_DPDK_DIR="$WITH_DPDK_DIR" $rootdir/autotest.sh "$conf"
+$rootdir/autopackage.sh "$conf"