Commit 1f7b1eb9 authored by Robert Bradshaw's avatar Robert Bradshaw

filter cpp tests based on module name

parent 8a44e54c
...@@ -147,6 +147,9 @@ class TestBuilder(object): ...@@ -147,6 +147,9 @@ class TestBuilder(object):
languages = self.languages[:1] languages = self.languages[:1]
else: else:
languages = self.languages languages = self.languages
if 'cpp' in module and 'c' in languages:
languages = list(languages)
languages.remove('c')
tests = [ self.build_test(test_class, path, workdir, module, tests = [ self.build_test(test_class, path, workdir, module,
language, expect_errors) language, expect_errors)
for language in languages ] for language in languages ]
......
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