Commit 8a08c4f7 authored by Stefan Behnel's avatar Stefan Behnel

When running a single test for multiple language levels, make sure they end up...

When running a single test for multiple language levels, make sure they end up in different directories to prevent overwriting each other.
parent 760788f7
...@@ -784,7 +784,9 @@ class TestBuilder(object): ...@@ -784,7 +784,9 @@ class TestBuilder(object):
os.makedirs(language_workdir) os.makedirs(language_workdir)
workdir = os.path.join(language_workdir, module) workdir = os.path.join(language_workdir, module)
if preparse != 'id': if preparse != 'id':
workdir += '_%s' % str(preparse) workdir += '_%s' % (preparse,)
if language_level:
workdir += '_cy%d' % (language_level,)
return test_class(path, workdir, module, tags, return test_class(path, workdir, module, tags,
language=language, language=language,
preparse=preparse, preparse=preparse,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment