Mercurial > public > mercurial-scm > hg-stable
view tests/test-check-code-hg.t @ 18596:d8cfe29c6b61
test-obsolete.t: migrate to killdaemons from kill `cat pidfile`
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sat, 09 Feb 2013 05:37:36 -0600 |
parents | 37479af47bd0 |
children | ce844e8e8af2 |
line wrap: on
line source
$ check_code="$TESTDIR"/../contrib/check-code.py $ cd "$TESTDIR"/.. $ if hg identify -q > /dev/null; then : > else > echo "skipped: not a Mercurial working dir" >&2 > exit 80 > fi New errors are not allowed. Warnings are strongly discouraged. $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \ > || false tests/test-serve.t:0: > > kill `cat hg.pid` don't use kill, use killdaemons.py tests/test-serve.t:0: > > kill `cat hg.pid` 2>/dev/null don't use kill, use killdaemons.py [1]