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