projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7539be6
)
run error test cases only for one target language
author
Stefan Behnel
<scoder@users.berlios.de>
Wed, 3 Sep 2008 11:24:41 +0000
(13:24 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Wed, 3 Sep 2008 11:24:41 +0000
(13:24 +0200)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 228f7126f2eff79aca118c3c78ac8a830001f3d9..e902035de7393a1685b23e0d0a1f2f2731cf0b94 100644
(file)
--- a/
runtests.py
+++ b/
runtests.py
@@
-117,9
+117,13
@@
class TestBuilder(object):
return suite
def build_tests(self, test_class, path, workdir, module, expect_errors):
+ if expect_errors:
+ languages = self.languages[:1]
+ else:
+ languages = self.languages
tests = [ self.build_test(test_class, path, workdir, module,
language, expect_errors)
- for language in
self.
languages ]
+ for language in languages ]
return tests
def build_test(self, test_class, path, workdir, module,