view tests/test-check-clang-format.t @ 34943:3423f7e2d287 stable

statichttprepo: do not use platform path separator to build a URL It wouldn't work between Windows client and Unix server.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 28 Oct 2017 17:23:52 +0900
parents 2e8477059d4f
children 39499bc31fcd
line wrap: on
line source

#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