From a724a497bdbc1cc98b8e33f7bedd2b17e5ca202a Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Fri, 4 Feb 2011 02:12:04 -0800 Subject: [PATCH] Allow exclusion of end-to-end tests. --- runtests.py | 3 +++ 1 file changed, 3 insertions(+) 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")): -- 2.26.2