Skip to content

Commit 3fe58a9

Browse files
committed
tidy: run clang-tidy in quiet mode
1 parent 5871b5b commit 3fe58a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/test/06_script_b.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
3535
fi
3636

3737
if [ "${RUN_TIDY}" = "true" ]; then
38+
set -eo pipefail
3839
export P_CI_DIR="${BASE_BUILD_DIR}/bitcoin-$HOST/src/"
39-
CI_EXEC run-clang-tidy "${MAKEJOBS}"
40+
( CI_EXEC run-clang-tidy -quiet "${MAKEJOBS}" ) | grep -C5 "error"
4041
export P_CI_DIR="${BASE_BUILD_DIR}/bitcoin-$HOST/"
4142
CI_EXEC "python3 ${DIR_IWYU}/include-what-you-use/iwyu_tool.py"\
4243
" src/compat"\

0 commit comments

Comments
 (0)