Mercurial > hg
view tests/test-check-clang-format.t @ 35228:04a2820f2fca
python3: whitelist many more passing tests
Differential Revision: https://phab.mercurial-scm.org/D1584
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 04 Dec 2017 15:30:30 -0500 |
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