• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 print 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))
20