Mercurial > hg
view tests/test-check-clang-format.t @ 35174:fff9ffa2ea05 stable
Added signature for changeset a92b9f8e11ba
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Fri, 01 Dec 2017 13:49:47 -0600 |
parents | 2e8477059d4f |
children | 39499bc31fcd |
line wrap: on
line source
#require clang-format test-repo $ . "$TESTDIR/helpers-testrepo.sh" $ cd "$TESTDIR"/.. $ for f in `testrepohg files 'set:(**.c 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