For now all .c and .h files are blacklisted. As they become
clang-formatted, we'll remove them from the blacklist,and then this
test will produce output if there are diffs.
Details
Details
- Reviewers
ryanmce - Group Reviewers
hg-reviewers - Commits
- rHG2e8477059d4f: test-clang-format: new test to verify that files stay clang-formatted
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
tests/test-check-clang-format.t | ||
---|---|---|
2 | This test fails for me with errors about lz4revlog. It feels like what we need here is a change similar to 6c113a7dec52, where we use the system hg to examine the local repository. Please reuse the syshg function here. |
tests/test-check-clang-format.t | ||
---|---|---|
2 | Derp, this is done. |
Comment Actions
I get skipped: unknown feature: clang-format when running test-check-clang-format.t now. What am I doing wrong?
Comment Actions
Are you using run-tests.py from this repo and running it in the tests/ directory from this repo?
(and this repo has 15b561fffde5)
This test fails for me with errors about lz4revlog.
It feels like what we need here is a change similar to 6c113a7dec52, where we use the system hg to examine the local repository. Please reuse the syshg function here.