Commit 134b5e8f authored by Stefan Behnel's avatar Stefan Behnel

Fix handling of "no-cpp" test tag for error tests, where "cpp" is already...

Fix handling of "no-cpp" test tag for error tests, where "cpp" is already removed from the list of test backends.
parent 9324142e
......@@ -730,12 +730,14 @@ class TestBuilder(object):
else:
languages = self.languages
if skip_c(tags) and 'c' in languages:
if 'c' in languages and skip_c(tags):
languages = list(languages)
languages.remove('c')
elif 'no-cpp' in tags['tag'] and 'cpp' in self.languages:
if 'cpp' in languages and 'no-cpp' in tags['tag']:
languages = list(languages)
languages.remove('cpp')
if not languages:
return []
pythran_dir = self.pythran_dir
if 'pythran' in tags['tag'] and not pythran_dir and 'cpp' 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