Commit bcb29869 authored by Robert Bradshaw's avatar Robert Bradshaw

Allow cpp error test.

It's really sad that we don't have any of these yet.
parent c0b7c546
......@@ -178,7 +178,10 @@ class TestBuilder(object):
def build_tests(self, test_class, path, workdir, module, expect_errors):
if expect_errors:
languages = self.languages[:1]
if 'cpp' in module and 'cpp' in self.languages:
languages = ['cpp']
else:
languages = self.languages[:1]
else:
languages = self.languages
if 'cpp' in module and 'c' 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