~soren/nova/iptables-security-groups

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/twisted/python/zsh/_trial

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#compdef trial
 
2
_arguments -s -A "-*" \
 
3
"*:file|module|package|TestCase|testMethod:_files -g '*.py'" \
 
4
'--coverage[Generate coverage information in the given directory (relative to]' \
 
5
"(--debug)-b[Run tests in the Python debugger. Will load '.pdbrc' from current directory if it exists.]" \
 
6
"(-b)--debug[Run tests in the Python debugger. Will load '.pdbrc' from current directory if it exists.]" \
 
7
'(--debug-stacktraces)-B[Report Deferred creation and callback stack traces]' \
 
8
'(-B)--debug-stacktraces[Report Deferred creation and callback stack traces]' \
 
9
'--disablegc[Disable the garbage collector]' \
 
10
'(--dry-run)-n[do everything but run the tests]' \
 
11
'(-n)--dry-run[do everything but run the tests]' \
 
12
'(--extra)-x[Add an extra argument.  (This is a hack necessary for interfacing with]:extra:_files' \
 
13
'(-x)--extra=[Add an extra argument.  (This is a hack necessary for interfacing with]:extra:_files' \
 
14
'--force-gc[Have Trial run gc.collect() before and after each test case.]' \
 
15
'(--help)-h[Display this help and exit.]' \
 
16
'(-h)--help[Display this help and exit.]' \
 
17
'--help-reactors[Display a list of possibly available reactor names.]' \
 
18
'--help-reporters[Help on available output plugins (reporters)]' \
 
19
'(--logfile)-l[log file name]:log file name:_files' \
 
20
'(-l)--logfile=[log file name]:log file name:_files' \
 
21
"(--no-recurse)-N[Don't recurse into packages]" \
 
22
"(-N)--no-recurse[Don't recurse into packages]" \
 
23
"--nopm[don't automatically jump into debugger for postmorteming of exceptions]" \
 
24
'--profile[Run tests under the Python profiler]' \
 
25
'(--random)-z[Run tests in random order using the specified seed]:random seed:_files' \
 
26
'(-z)--random=[Run tests in random order using the specified seed]:random seed:_files' \
 
27
'(--reactor)-r[Which reactor to use (see --help-reactors for a list of possibilities)]:reactor:(kqueue win32 epoll iocp gtk cf gtk2 default debug-gui poll glib2 select wx)' \
 
28
'(-r)--reactor=[Which reactor to use (see --help-reactors for a list of possibilities)]:reactor:(kqueue win32 epoll iocp gtk cf gtk2 default debug-gui poll glib2 select wx)' \
 
29
'--recursionlimit=[see sys.setrecursionlimit()]:recursionlimit:_files' \
 
30
'--reporter=[The reporter to use for this test run.  See --help-reporters for more info.]:reporter:(bwverbose text verbose timing summary)' \
 
31
'(--rterrors)-e[realtime errors, print out tracebacks as soon as they occur]' \
 
32
'(-e)--rterrors[realtime errors, print out tracebacks as soon as they occur]' \
 
33
'--spew[Print an insanely verbose log of everything that happens.  Useful]' \
 
34
'--tbformat=[Specify the format to display tracebacks with. Valid formats are]:tbformat:(plain emacs cgitb)' \
 
35
'--temp-directory=[Path to use as working directory for tests.]:temp-directory:_files' \
 
36
'--testmodule=[Filename to grep for test cases (-*- test-case-name)]:testmodule:_files' \
 
37
'(--until-failure)-u[Repeat test until it fails]' \
 
38
'(-u)--until-failure[Repeat test until it fails]' \
 
39
'--version[version]' \
 
40
&& return 0