tests/test-check-clang-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 08 Mar 2023 00:46:53 +0100
branchstable
changeset 50286 5069a89a936e
parent 37184 0024961aa493
permissions -rw-r--r--
tests: fix timeout adjustement in delaypush.py Doing integer arithmetic with string is bound to fail.

#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