Revision 7965f1b4
Added by koszko over 1 year ago
| test/misc_constants.py | ||
|---|---|---|
| 37 | 37 |
unit_test_defines = ['-D', 'MOZILLA', '-D', 'MV2', '-D', 'TEST', |
| 38 | 38 |
'-D', 'UNIT_TEST', '-D', 'DEBUG'] |
| 39 | 39 |
|
| 40 |
conf_line_regex = re.compile(r'^([^=]+)=(.*)$')
|
|
| 40 |
conf_line_regex = re.compile(r'^([^=]+) = (.*)$')
|
|
| 41 | 41 |
conf_settings = {}
|
| 42 | 42 |
with open(here.parent / 'record.conf', 'rt') as conf: |
| 43 | 43 |
for line in conf.readlines(): |
| 44 | 44 |
match = conf_line_regex.match(line) |
| 45 | 45 |
if match: |
| 46 |
conf_settings[match.group(1).strip()] = match.group(2).strip()
|
|
| 46 |
conf_settings[match.group(1).strip()] = match.group(2) |
|
| 47 | 47 |
|
| 48 | 48 |
default_proxy_host = '127.0.0.1' |
| 49 | 49 |
default_proxy_port = 1337 |
Also available in: Unified diff
improve the build system