tests/test-check-clang-format.t
author Paul Morelle <paul.morelle@octobus.net>
Wed, 10 Jan 2018 17:24:25 +0100
changeset 35598 29248ea26b29
parent 34834 2e8477059d4f
child 35669 39499bc31fcd
permissions -rw-r--r--
upgraderepo: select correct deltareuse depending on actions Only 'redeltafulladd' was taken into account because of a small typo.

#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