tests/test-check-config.t
author David Soria Parra <davidsp@fb.com>
Wed, 21 Dec 2016 13:44:15 -0800
changeset 30652 2cab496db1e0
parent 29219 3c9066ed557c
child 32864 7c11869cf23a
permissions -rw-r--r--
tests: add magic string to bypass check-commit Allow bypassing test-check-commit runs by specifying '# no-check-commit' in the description. This should be avoided but is useful for upstream imports such as pywatchman which will cause check-code to fail otherwise.

#require test-repo

  $ . "$TESTDIR/helpers-testrepo.sh"
  $ cd "$TESTDIR"/..

New errors are not allowed. Warnings are strongly discouraged.

  $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
  >   python contrib/check-config.py