mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
7830092e84
Summary: Final diff of the series Test Plan: All tests pass with --extra-config=extensions.lz4revlog= needed to run check-code Reviewers: #sourcecontrol, ttung Differential Revision: https://phabricator.fb.com/D2812684
12 lines
378 B
Perl
12 lines
378 B
Perl
#require test-repo
|
|
|
|
$ check_code="$RUNTESTDIR"/../contrib/check-code.py
|
|
$ cd "$TESTDIR"/..
|
|
|
|
New errors are not allowed. Warnings are strongly discouraged.
|
|
(The writing "no-che?k-code" is for not skipping this file when checking.)
|
|
|
|
$ hg locate | sed 's-\\-/-g' |
|
|
> xargs "$check_code" --warnings --per-file=0 || false
|
|
Skipping statprof.py it has no-che?k-code (glob)
|