Closed AshUK closed 2 years ago
Hi @AshUK, sorry for replying late. When this error happens, could you please check, what is the contents of warnings.txt file in the same directory?
Another question, could you run ls -l ./scripts/ci/run-clang-tidy.py
and check if run-clang-tidy.py has executable permissions? If no, then this issue has the same root cause as https://github.com/espressif/clang-tidy-runner/issues/16, which we will fix shortly.
I can confirm making the file executable fixes the issue, apologies and thank you.
IDF: v4.4.2 macOS: 12.5
We are looking to replace our complex clang-tidy wrapper with idf.py clang-check but our initial findings testing is not running. Happy to help support this effort.
command:
idf.py clang-check --run-clang-tidy-py ./scripts/ci/run-clang-tidy.py --exclude-paths managed_components