tests/test-check-clang-format.t
author Anton Shestakov <av6@dwimlabs.net>
Fri, 08 Dec 2017 22:27:14 +0800
changeset 35323 1fe3c8296cfe
parent 34834 2e8477059d4f
child 35669 39499bc31fcd
permissions -rw-r--r--
hgweb: rewrite `template = A and B or C` to be a proper ternary operator

#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