projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c95459
)
Allow exclusion of end-to-end tests.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Fri, 4 Feb 2011 10:12:04 +0000
(
02:12
-0800)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Fri, 4 Feb 2011 10:12:04 +0000
(
02:12
-0800)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 6b8bd5f6549401ee092b656e3de313c4b16c333a..f8131451e3cca5e264616ef67db40f52153eae75 100644
(file)
--- 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")):