Skip to content
Snippets Groups Projects
Commit 2a97082d authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[check-iwyu] Use echoerr where sensible

parent 53a1e246
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ if [[ ! -v IWYU_TOOL ]]; then
done
if [[ ! -v IWYU_TOOL ]]; then
echo "iwyu_tool not found"
echoerr "iwyu_tool not found"
exit 1
fi
fi
......@@ -89,7 +89,7 @@ ERROR_STRINGS+=("fatal error:")
for ERROR_STRING in "${ERROR_STRINGS[@]}"; do
if grep -q "${ERROR_STRING}" "${IWYU_LOG}"; then
echo "IWYU found errors!"
echoerr "IWYU found errors!"
cat "${IWYU_LOG}"
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment