aboutsummaryrefslogtreecommitdiff
path: root/ci/test/06_script_b.sh
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-04-11 20:45:22 +0100
committerfanquake <fanquake@gmail.com>2022-04-20 14:14:52 +0100
commit9b0a13a2891641a3d12e525cee8ddddb1aa1bc73 (patch)
tree1b8f4b8182d43ebcc62201b43fae9b783137ba57 /ci/test/06_script_b.sh
parent74cd038e300bfbe2473295fc3b0c3a4f3e853a07 (diff)
downloadbitcoin-9b0a13a2891641a3d12e525cee8ddddb1aa1bc73.tar.xz
tidy: Add include-what-you-use
Diffstat (limited to 'ci/test/06_script_b.sh')
-rwxr-xr-xci/test/06_script_b.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh
index 30788f1543..afab4c5e78 100755
--- a/ci/test/06_script_b.sh
+++ b/ci/test/06_script_b.sh
@@ -37,6 +37,8 @@ fi
if [ "${RUN_TIDY}" = "true" ]; then
export P_CI_DIR="${BASE_BUILD_DIR}/bitcoin-$HOST/src/"
CI_EXEC run-clang-tidy "${MAKEJOBS}"
+ export P_CI_DIR="${BASE_BUILD_DIR}/bitcoin-$HOST/"
+ CI_EXEC "python3 ${BASE_SCRATCH_DIR}/iwyu/include-what-you-use/iwyu_tool.py src/compat src/init -p . ${MAKEJOBS} -- -Xiwyu --cxx17ns -Xiwyu --mapping_file=${BASE_BUILD_DIR}/bitcoin-$HOST/contrib/devtools/iwyu/bitcoin.core.imp"
fi
if [ "$RUN_SECURITY_TESTS" = "true" ]; then