view tests/test-check-clang-format.t @ 50407:e8f1e0e295bb

extras: expose 'retained_extras' for extensions to extend
author Jason R. Coombs <jaraco@jaraco.com>
date Tue, 21 Mar 2023 17:21:45 -0400
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