autobuild.sh: exclude custom dpdk from scanbuild path
Change-Id: Icc668defa2670561f1160a78f68e76452e0862fc Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4774 Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
b7e4207b29
commit
17f3add0a4
@ -14,7 +14,12 @@ source "$1"
|
||||
source "$rootdir/test/common/autotest_common.sh"
|
||||
|
||||
out=$output_dir
|
||||
scanbuild="scan-build -o $output_dir/scan-build-tmp --exclude $rootdir/dpdk/ --status-bugs"
|
||||
if [ -n "$SPDK_TEST_NATIVE_DPDK" ]; then
|
||||
scanbuild_exclude=" --exclude $(dirname $SPDK_RUN_EXTERNAL_DPDK)"
|
||||
else
|
||||
scanbuild_exclude="--exclude $rootdir/dpdk/"
|
||||
fi
|
||||
scanbuild="scan-build -o $output_dir/scan-build-tmp $scanbuild_exclude --status-bugs"
|
||||
config_params=$(get_config_params)
|
||||
|
||||
trap '[[ -d $SPDK_WORKSPACE ]] && rm -rf "$SPDK_WORKSPACE"' 0
|
||||
|
Loading…
Reference in New Issue
Block a user