Read about our upcoming Code of Conduct on this issue

testrunner_cfg.py 519 Bytes
Newer Older
1
# nightly test configuration for the paraller runner
Armin Rigo's avatar
Armin Rigo committed
2
import os
3

4
DIRS_SPLIT = [
5
    'translator/c', 'rlib',
6
    'rpython/memory', 'jit/metainterp', 'rpython/test',
7
    'jit/backend/arm', 'jit/backend/x86',
8
9
]

10
def collect_one_testdir(testdirs, reldir, tests):
11
12
13
14
    for dir in DIRS_SPLIT:
        if reldir.startswith(dir):
            testdirs.extend(tests)
            break
15
    else:
16
17
        testdirs.append(reldir)

Armin Rigo's avatar
Armin Rigo committed
18
19
20
21

_cherrypick = os.getenv('PYPYCHERRYPICK', '')
if _cherrypick:
    cherrypick = _cherrypick.split(':')