tests: ensure the python 3 passing test list stays sorted
authorAugie Fackler <augie@google.com>
Fri, 12 Oct 2018 06:39:32 -0400
changeset 40163 9f0ee4a60d65
parent 40162 80a4c60513bc
child 40164 fee616937ef3
tests: ensure the python 3 passing test list stays sorted Differential Revision: https://phab.mercurial-scm.org/D4984
tests/test-check-code.t
--- a/tests/test-check-code.t	Fri Oct 12 06:35:33 2018 -0400
+++ b/tests/test-check-code.t	Fri Oct 12 06:39:32 2018 -0400
@@ -63,3 +63,7 @@
   > mercurial/parsers.py \
   > mercurial/zstd.py
   [1]
+
+Keep python3 tests sorted:
+  $ sort < contrib/python3-whitelist > $TESTTMP/py3sorted
+  $ cmp contrib/python3-whitelist $TESTTMP/py3sorted || echo 'Please sort passing tests!'