Commit c43d5cd0 authored by Stefan Behnel's avatar Stefan Behnel

run error test cases only for one target language

parent 7539be67
......@@ -117,9 +117,13 @@ class TestBuilder(object):
return suite
def build_tests(self, test_class, path, workdir, module, expect_errors):
if expect_errors:
languages = self.languages[:1]
else:
languages = self.languages
tests = [ self.build_test(test_class, path, workdir, module,
language, expect_errors)
for language in self.languages ]
for language in languages ]
return tests
def build_test(self, test_class, path, workdir, module,
......
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