tests/test-check-clang-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 09 Apr 2024 14:41:48 +0200
changeset 51575 f610d705c3ca
parent 37184 0024961aa493
permissions -rw-r--r--
bundlespec: drop unused _bundlespecvariants dictionary Why do we have a `_bundlespecvariants`?

#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