comparison upreckon/config.py @ 193:a76cdc26ba9d

Added conf. var. match and match='regexp' for non-archives Specify match='regexp', and your tests and dummies will be treated as regular expressions describing test case identifiers. Every file that is in a suitable location and whose name matches {testcase,dummy}inname and the given regexp will be treated as a file with test case input data. You are free to use backreferences in the regexps, but group numbering starts at two rather than one. If you want test groups, you can get them magically created for you by putting a part of the test ID in a group in the regexp sense and specifying the tests variable as a pair consisting of the regexp itself and the number of this regexp group (remember group numbers start at two).
author Oleg Oshmyan <chortos@inbox.lv>
date Thu, 11 Aug 2011 23:20:52 +0300
parents 35d59ba0e27c
children 1de2ea435d93
comparison
equal deleted inserted replaced
192:6e6b0ea63fa1 193:a76cdc26ba9d
21 defaults_problem = {'kind': 'batch', 21 defaults_problem = {'kind': 'batch',
22 'usegroups': False, 22 'usegroups': False,
23 'maxcputime': None, 23 'maxcputime': None,
24 'maxwalltime': None, 24 'maxwalltime': None,
25 'maxmemory': None, 25 'maxmemory': None,
26 'match': '$%',
26 'dummies': (), 27 'dummies': (),
27 'testsexcluded': (), 28 'testsexcluded': (),
28 'padtests': 0, 29 'padtests': 0,
29 'paddummies': 0, 30 'paddummies': 0,
30 'taskweight': 100, 31 'taskweight': 100,