Skip to content

Commit

Permalink
refactor this a bit and split few more dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
fijal committed May 21, 2012
1 parent 16cd3c4 commit adf3d87
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pypy/testrunner_cfg.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# nightly test configuration for the paraller runner
import os

DIRS_SPLIT = [
'translator/c', 'translator/jvm', 'rlib', 'rpython/memory',
'jit/backend/x86', 'jit/metainterp', 'rpython/test',
]

def collect_one_testdir(testdirs, reldir, tests):
if (reldir.startswith('translator/c/') or
reldir.startswith('translator/jvm/') or
reldir.startswith('rlib/test') or
reldir.startswith('rpython/memory/') or
reldir.startswith('jit/backend/x86/') or
#reldir.startswith('jit/backend/cli') or
0):
testdirs.extend(tests)
for dir in DIRS_SPLIT:
if reldir.startswith(dir):
testdirs.extend(tests)
break
else:
testdirs.append(reldir)

Expand Down

0 comments on commit adf3d87

Please sign in to comment.