projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b7c54
)
Allow cpp error test.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Fri, 9 Apr 2010 02:48:48 +0000
(19:48 -0700)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Fri, 9 Apr 2010 02:48:48 +0000
(19:48 -0700)
It's really sad that we don't have any of these yet.
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 83dfd057ea8b3b24a9b35f71499561f8936fc40d..af1ee66f0ce6a6f87d61368dcce57adc457971c7 100644
(file)
--- a/
runtests.py
+++ b/
runtests.py
@@
-178,7
+178,10
@@
class TestBuilder(object):
def build_tests(self, test_class, path, workdir, module, expect_errors):
if expect_errors:
- languages = self.languages[:1]
+ if 'cpp' in module and 'cpp' in self.languages:
+ languages = ['cpp']
+ else:
+ languages = self.languages[:1]
else:
languages = self.languages
if 'cpp' in module and 'c' in languages: