tests: make test-check-config 9x faster

Summary: This cuts the speed on my laptop from 1.3 min (78s) to 8.9s.

Reviewed By: quark-zju

Differential Revision: D8738675

fbshipit-source-id: f6bd0857c949ad96b0eea54d8ddbd9a0427e8895
This commit is contained in:
Phil Cohen 2018-07-06 17:13:21 -07:00 committed by Facebook Github Bot
parent 97ad2b1c85
commit ee68575f82

View File

@ -42,8 +42,7 @@ Sanity check check-config.py
undocumented: ui.missingint (int)
New errors are not allowed. Warnings are strongly discouraged.
$ testrepohg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
$ testrepohg files . | egrep -v '^tests/' | egrep '\.(py|txt)$' | sed 's|\\|/|g' |
> $PYTHON contrib/check-config.py
undocumented: clone.requestfullclone (bool)
undocumented: extensions.fbsparse (str) ["!"]