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

[tools] Fix fix-includes script

Newer iwyu versions will exit with an error code in case include
issues have been found.
parent 9e2f98e1
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,9 @@ trap cleanup exit
cd "${BUILDDIR}"
echo "Running IWYU"
ninja iwyu > "${TMPFILE}"
set +e
ninja iwyu |tee "${TMPFILE}"
set -e
echo "Running fix_includes.py"
fix_includes.py < "${TMPFILE}"
......
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