tests: add --list flag to show available tests
authorMike Frysinger <vapier@gentoo.org>
Sun, 9 Oct 2011 18:43:01 +0000 (14:43 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 9 Oct 2011 20:40:43 +0000 (16:40 -0400)
commit4dfb7a71ab9983e5bd0f2121062df04ffd6a748a
treedf1abf75d5bf6ec20d4ef9189ad119501b341157
parent0e32e6f3b950b6ca05724491cde8c9d04817d670
tests: add --list flag to show available tests

Trying to guess at what runtests actually wants in terms of command line
tests is pretty hard.  Any invalid value just gives you an ugly traceback.
So add a helper --list option so the user can easily figure out what the
code wants *exactly*.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
pym/portage/tests/__init__.py