ยปCore Development>Code coverage>Lib/ctypes/test/runtests.py

Python code coverage for Lib/ctypes/test/runtests.py

#countcontent
1n/a"""Usage: runtests.py [-q] [-r] [-v] [-u resources] [mask]
2n/a
3n/aRun all tests found in this directory, and print a summary of the results.
4n/aCommand line flags:
5n/a -q quiet mode: don't prnt anything while the tests are running
6n/a -r run tests repeatedly, look for refcount leaks
7n/a -u<resources>
8n/a Add resources to the lits of allowed resources. '*' allows all
9n/a resources.
10n/a -v verbose mode: print the test currently executed
11n/a -x<test1[,test2...]>
12n/a Exclude specified tests.
13n/a mask mask to select filenames containing testcases, wildcards allowed
14n/a"""
15n/aimport sys
16n/aimport ctypes.test
17n/a
18n/aif __name__ == "__main__":
19n/a sys.exit(ctypes.test.main(ctypes.test))