1 """Usage: runtests.py [-q] [-r] [-v] [-u resources] [mask] 2 3 Run all tests found in this directory, and print a summary of the results. 4 Command 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 """ 15 import sys 16 import ctypes.test 17 18 if __name__ == "__main__": 19 sys.exit(ctypes.test.main(ctypes.test)) 20