Commit bf8fc6b7 authored by Stefan Behnel's avatar Stefan Behnel

Exclude end-to-end tests from test runs with '--cython-only' since they...

Exclude end-to-end tests from test runs with '--cython-only' since they execute arbitrary test code.
parent 16aba7eb
...@@ -711,6 +711,9 @@ class TestBuilder(object): ...@@ -711,6 +711,9 @@ class TestBuilder(object):
mode = 'pyregr' mode = 'pyregr'
if ext == '.srctree': if ext == '.srctree':
if self.cython_only:
# EndToEnd tests always execute arbitrary build and test code
continue
if 'cpp' not in tags['tag'] or 'cpp' in self.languages: if 'cpp' not in tags['tag'] or 'cpp' in self.languages:
suite.addTest(EndToEndTest(filepath, workdir, suite.addTest(EndToEndTest(filepath, workdir,
self.cleanup_workdir, stats=self.stats, self.cleanup_workdir, stats=self.stats,
......
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