##// END OF EJS Templates
tests: use pyflakes as a tool, not a python module...
tests: use pyflakes as a tool, not a python module The usage of pyflakes as a Python module was introduced in e397c6d74652, to work around issue between Python 2 and Python 3. This issues are long behind us now and we can get beck to using pyflakes as a tool, giving us more flexibility about how we install it. The `hghave` requirements is modified to check that we have a tool available, instead of a python module.

File last commit:

r37201:0024961a default
r52956:43602c67 default
Show More
test-check-clang-format.t
10 lines | 344 B | text/troff | Tads3Lexer
/ tests / test-check-clang-format.t
Augie Fackler
test-clang-format: new test to verify that files stay clang-formatted...
r34835 #require clang-format test-repo
$ . "$TESTDIR/helpers-testrepo.sh"
$ cd "$TESTDIR"/..
Gregory Szorc
contrib: rename clang-format-blacklist to clang-format-ignorelist...
r37201 $ for f in `testrepohg files 'set:(**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"'` ; do
Augie Fackler
test-clang-format: new test to verify that files stay clang-formatted...
r34835 > clang-format --style file $f > $f.formatted
> cmp $f $f.formatted || diff -u $f $f.formatted
> rm $f.formatted
> done