~ubuntu-branches/ubuntu/maverick/python3.1/maverick

« back to all changes in this revision

Viewing changes to Lib/ctypes/test/runtests.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-03-23 00:01:27 UTC
  • Revision ID: james.westby@ubuntu.com-20090323000127-5fstfxju4ufrhthq
Tags: upstream-3.1~a1+20090322
ImportĀ upstreamĀ versionĀ 3.1~a1+20090322

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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))