We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264ca9d commit fae70baCopy full SHA for fae70ba
ci/test/03_test_script.sh
@@ -182,7 +182,11 @@ if [ "${RUN_TIDY}" = "true" ]; then
182
183
set -eo pipefail
184
cd "${BASE_BUILD_DIR}/bitcoin-$HOST/src/"
185
- ( run-clang-tidy-"${TIDY_LLVM_V}" -quiet -load="/tidy-build/libbitcoin-tidy.so" "${MAKEJOBS}" ) | grep -C5 "error"
+ if ! ( run-clang-tidy-"${TIDY_LLVM_V}" -quiet -load="/tidy-build/libbitcoin-tidy.so" "${MAKEJOBS}" | tee tmp.tidy-out.txt ); then
186
+ grep -C5 "error: " tmp.tidy-out.txt
187
+ echo "^^^ ⚠️ Failure generated from clang-tidy"
188
+ false
189
+ fi
190
# Filter out files by regex here, because regex may not be
191
# accepted in src/.bear-tidy-config
192
# Filter out:
0 commit comments