-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#2876 clang-format: check format in test suite (#3094)
Adds checking of diff formatting to runsuite.cmake. If clang-format-diff{,.py} is found, it is used to check the formatting, and any format change is a fatal error. Adds installation of clang-format-6.0 from apt.llvm.org on Travis to the 6th build, 64-bit clang. It's shorter than the test runs, so this won't add extra time. Letting the test runs complete also allows a PR to get feedback on build and test failures along with format issues simultaneously, rather than simply having all builds fail up front with format errors. Fixes #2876
- Loading branch information
1 parent
f1713ec
commit d224ab1
Showing
3 changed files
with
80 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters