##// END OF EJS Templates
configitems: traverse sections deterministically...
configitems: traverse sections deterministically Otherwise output can be non-deterministic if there are warnings for multiple sections. Differential Revision: https://phab.mercurial-scm.org/D1947

File last commit:

r35687:39499bc3 default
r35826:178aacdc stable
Show More
test-check-clang-format.t
10 lines | 343 B | text/troff | Tads3Lexer
/ tests / test-check-clang-format.t
#require clang-format test-repo
$ . "$TESTDIR/helpers-testrepo.sh"
$ cd "$TESTDIR"/..
$ for f in `testrepohg files 'set:(**.c or **.cc or **.h) and not "listfile:contrib/clang-format-blacklist"'` ; do
> clang-format --style file $f > $f.formatted
> cmp $f $f.formatted || diff -u $f $f.formatted
> rm $f.formatted
> done