comparison 2.00/test-svn.py @ 18:a33653cdad57

Still $Rev$ substitution in 2.00
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 07 Jun 2010 23:42:16 +0000
parents dfe872cafbd0
children ec6f1a132109
comparison
equal deleted inserted replaced
17:dfe872cafbd0 18:a33653cdad57
3 3
4 from __future__ import division, with_statement 4 from __future__ import division, with_statement
5 import optparse, sys, compat 5 import optparse, sys, compat
6 from compat import say 6 from compat import say
7 7
8 # $Rev: $ 8 # $Rev$
9 version = '2.00.0 (SVN r$$REV$$)' 9 version = '2.00.0 (SVN r$$REV$$)'
10 parser = optparse.OptionParser(version='test.py '+version, epilog='Python 2.5 or newer is required, unless you have a custom build of Python.') 10 parser = optparse.OptionParser(version='test.py '+version, epilog='Python 2.5 or newer is required, unless you have a custom build of Python.')
11 parser.add_option('-u', '--update', dest='update', action='store_true', default=False, help='check for an updated version of test.py') 11 parser.add_option('-u', '--update', dest='update', action='store_true', default=False, help='check for an updated version of test.py')
12 parser.add_option('-m', '--copy-io', dest='copyonly', action='store_true', default=False, help='create a copy of the input/output files of the last test case for manual testing and exit') 12 parser.add_option('-m', '--copy-io', dest='copyonly', action='store_true', default=False, help='create a copy of the input/output files of the last test case for manual testing and exit')
13 parser.add_option('-x', '--auto-exit', dest='pause', action='store_false', default=True, help='do not wait for a key to be pressed after finishing testing') 13 parser.add_option('-x', '--auto-exit', dest='pause', action='store_false', default=True, help='do not wait for a key to be pressed after finishing testing')