tests/test-check-clang-format.t
author Yuya Nishihara <yuya@tcha.org>
Sun, 10 Dec 2017 19:41:49 +0900
changeset 35387 9144e898cad5
parent 34834 2e8477059d4f
child 35669 39499bc31fcd
permissions -rw-r--r--
debugformat: embed raw values in JSON and template output

#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