Mercurial > hg-stable
view tests/test-check-clang-format.t @ 35949:89c81739ffa7
makefile: remove Ubuntu Yakkety and Zesty docker targets
Yakkety (16.10) was supported until 2017-07-20 and Zesty (17.04) was supported
until 2018-01-13.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 05 Feb 2018 18:39:41 +0800 |
parents | 39499bc31fcd |
children | 0024961aa493 |
line wrap: on
line source
#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