Mercurial > hg
view tests/test-check-clang-format.t @ 48536:8537a64c4e2b stable
Added tag 6.0.1 for changeset 799fdf4cca80
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 05 Jan 2022 17:53:03 +0100 |
parents | 0024961aa493 |
children |
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-ignorelist"'` ; do > clang-format --style file $f > $f.formatted > cmp $f $f.formatted || diff -u $f $f.formatted > rm $f.formatted > done