diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-02-01 12:53:33 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-02-01 14:11:48 +0100 |
commit | fa6986a66b451f532a1aa2bd72c956fcd8c0d042 (patch) | |
tree | f27859b4a271ec50e6551ca5bbbbd9c3d4c18bcd /ci/test/06_script_b.sh | |
parent | e1bf5470f919cf212703466411968916db8ae61f (diff) | |
download | bitcoin-fa6986a66b451f532a1aa2bd72c956fcd8c0d042.tar.xz |
ci: Print iwyu patch in git diff format
Diffstat (limited to 'ci/test/06_script_b.sh')
-rwxr-xr-x | ci/test/06_script_b.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh index 6c247abebe..49cc48aa15 100755 --- a/ci/test/06_script_b.sh +++ b/ci/test/06_script_b.sh @@ -75,7 +75,12 @@ if [ "${RUN_TIDY}" = "true" ]; then " src/util/syserror.cpp"\ " src/util/threadinterrupt.cpp"\ " src/zmq"\ - " -p . ${MAKEJOBS} -- -Xiwyu --cxx17ns -Xiwyu --mapping_file=${BASE_BUILD_DIR}/bitcoin-$HOST/contrib/devtools/iwyu/bitcoin.core.imp" + " -p . ${MAKEJOBS}"\ + " -- -Xiwyu --cxx17ns -Xiwyu --mapping_file=${BASE_BUILD_DIR}/bitcoin-$HOST/contrib/devtools/iwyu/bitcoin.core.imp"\ + " |& tee /tmp/iwyu_ci.out" + export P_CI_DIR="${BASE_ROOT_DIR}/src" + CI_EXEC "python3 ${DIR_IWYU}/include-what-you-use/fix_includes.py --nosafe_headers < /tmp/iwyu_ci.out" + CI_EXEC "git --no-pager diff" fi if [ "$RUN_SECURITY_TESTS" = "true" ]; then |