From: Robert Bradshaw Date: Fri, 4 Feb 2011 10:12:04 +0000 (-0800) Subject: Allow exclusion of end-to-end tests. X-Git-Tag: 0.14.1~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a724a497bdbc1cc98b8e33f7bedd2b17e5ca202a;p=cython.git Allow exclusion of end-to-end tests. --- diff --git a/runtests.py b/runtests.py index 6b8bd5f6..f8131451 100644 --- a/runtests.py +++ b/runtests.py @@ -195,6 +195,9 @@ class TestBuilder(object): if context == "build" and filename.endswith(".srctree"): if not [ 1 for match in self.selectors if match(filename) ]: continue + if self.exclude_selectors: + if [1 for match in self.exclude_selectors if match(filename)]: + continue suite.addTest(EndToEndTest(os.path.join(path, filename), workdir, self.cleanup_workdir)) continue if not (filename.endswith(".pyx") or filename.endswith(".py")):