From f53bf7676cb7609ee365ace73e4777691adedfd6 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Tue, 16 Jun 2020 10:09:48 -0700 Subject: [PATCH] test/check_so_deps: limit scope of header checks. This prevents us from triggering false positives on internal headers. Signed-off-by: Seth Howell Change-Id: I4e7f5a8acb7da4351f21dd7619695a6a59ab1881 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2914 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Shuhei Matsumoto Community-CI: Mellanox Build Bot --- test/make/check_so_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/make/check_so_deps.sh b/test/make/check_so_deps.sh index 8726efb6e..6008f6bf1 100755 --- a/test/make/check_so_deps.sh +++ b/test/make/check_so_deps.sh @@ -287,7 +287,7 @@ EOF continue fi - if ! output=$(abidiff "$source_abi_dir/$so_file" "$libdir/$so_file" --leaf-changes-only --suppressions $suppression_file --stat); then + if ! output=$(abidiff "$source_abi_dir/$so_file" "$libdir/$so_file" --headers-dir1 "$source_abi_dir/../../include/" --headers-dir2 "$rootdir/include" --leaf-changes-only --suppressions $suppression_file --stat); then # remove any filtered out variables. output=$(sed "s/ [()][^)]*[)]//g" <<< "$output")