Mercurial > ~astiob > upreckon > hgweb
comparison upreckon/upreckon-vcs @ 248:bbd735702dc4 2.04 2.04.1
Bumped the version number to 2.04.1
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Thu, 03 Oct 2013 01:39:26 +0300 |
parents | 478d4217fe03 |
children |
comparison
equal
deleted
inserted
replaced
246:1bc89faac941 | 248:bbd735702dc4 |
---|---|
5 import optparse | 5 import optparse |
6 | 6 |
7 from upreckon import compat | 7 from upreckon import compat |
8 from upreckon.compat import * | 8 from upreckon.compat import * |
9 | 9 |
10 parser = optparse.OptionParser(version='Upreckon 2.04.0 ($$REV$$)', epilog='Python 2.6 or newer is required.') | 10 parser = optparse.OptionParser(version='Upreckon 2.04.1 ($$REV$$)', epilog='Python 2.6 or newer is required.') |
11 parser.add_option('-1', dest='legacy', action='store_true', default=False, help='handle configuration files in a way more compatible with test.py 1.x') | 11 parser.add_option('-1', dest='legacy', action='store_true', default=False, help='handle configuration files in a way more compatible with test.py 1.x') |
12 parser.add_option('-p', '--problem', dest='problems', metavar='PROBLEM', action='append', help='test only the PROBLEM (this option can be specified more than once with different problem names, all of which will be tested)') | 12 parser.add_option('-p', '--problem', dest='problems', metavar='PROBLEM', action='append', help='test only the PROBLEM (this option can be specified more than once with different problem names, all of which will be tested)') |
13 parser.add_option('--list-problems', action='store_true', default=False, help='just list all problem names') | 13 parser.add_option('--list-problems', action='store_true', default=False, help='just list all problem names') |
14 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') | 14 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') |
15 parser.add_option('-s', '--save-io', dest='erase', action='store_false', default=True, help='do not delete the copies of input/output files after the last test case; create copies of input files and store output in files even if the solution uses standard I/O') | 15 parser.add_option('-s', '--save-io', dest='erase', action='store_false', default=True, help='do not delete the copies of input/output files after the last test case; create copies of input files and store output in files even if the solution uses standard I/O') |