tests/test-check-pyflakes.t
author Patrick Mezard <pmezard@gmail.com>
Mon, 16 May 2011 21:26:50 +0200
changeset 14336 0cbf0d1f7939
parent 14176 dea68bddfb87
child 14393 bdf44e63a94c
permissions -rw-r--r--
run-tests: fix hg.bat python reference hg.bat expects to live in pythonxx/scripts and the python interpreter to be in pythonxx. run-tests.py file layout is a little different and python location must be fixed.

  $ "$TESTDIR/hghave" pyflakes || exit 80
  $ cd $(dirname $TESTDIR)
  $ pyflakes mercurial hgext 2>&1 | $TESTDIR/filterpyflakes.py
  mercurial/hgweb/server.py:*: 'activeCount' imported but unused (glob)
  mercurial/commands.py:*: 'base85' imported but unused (glob)
  mercurial/commands.py:*: 'bdiff' imported but unused (glob)
  mercurial/commands.py:*: 'mpatch' imported but unused (glob)
  mercurial/commands.py:*: 'osutil' imported but unused (glob)
  mercurial/revlog.py:*: 'short' imported but unused (glob)
  hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)
  mercurial/util.py:*: 'from posix import *' used; unable to detect undefined names (glob)
  mercurial/windows.py:*: 'from win32 import *' used; unable to detect undefined names (glob)
  mercurial/util.py:*: 'from windows import *' used; unable to detect undefined names (glob)