projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3efcb4
)
No-cpp tag.
author
Robert Bradshaw
<robertwb@gmail.com>
Sat, 7 Sep 2013 20:43:58 +0000
(13:43 -0700)
committer
Robert Bradshaw
<robertwb@gmail.com>
Sat, 7 Sep 2013 20:43:58 +0000
(13:43 -0700)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index
f57d001
..
0e9f7c1
100755
(executable)
--- a/
runtests.py
+++ b/
runtests.py
@@
-479,9
+479,13
@@
class TestBuilder(object):
languages = self.languages[:1]
else:
languages = self.languages
+
if 'cpp' in tags['tag'] and 'c' in languages:
languages = list(languages)
languages.remove('c')
+ elif 'no-cpp' in tags['tag'] and 'cpp' in self.languages:
+ languages = list(languages)
+ languages.remove('cpp')
tests = [ self.build_test(test_class, path, workdir, module,
language, expect_errors, warning_errors)
for language in languages ]