PageRenderTime 41ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 19ms app.codeStats 0ms

/Lib/ctypes/test/runtests.py

http://unladen-swallow.googlecode.com/
Python | 19 lines | 11 code | 0 blank | 8 comment | 2 complexity | 27b6a76baf40b5aa81c3b4119b6c4b2d MD5 | raw file
 1"""Usage: runtests.py [-q] [-r] [-v] [-u resources] [mask]
 2
 3Run all tests found in this directory, and print a summary of the results.
 4Command line flags:
 5  -q     quiet mode: don't prnt anything while the tests are running
 6  -r     run tests repeatedly, look for refcount leaks
 7  -u<resources>
 8         Add resources to the lits of allowed resources. '*' allows all
 9         resources.
10  -v     verbose mode: print the test currently executed
11  -x<test1[,test2...]>
12         Exclude specified tests.
13  mask   mask to select filenames containing testcases, wildcards allowed
14"""
15import sys
16import ctypes.test
17
18if __name__ == "__main__":
19    sys.exit(ctypes.test.main(ctypes.test))