From: Robert Bradshaw Date: Thu, 9 Apr 2009 11:49:14 +0000 (-0700) Subject: filter cpp tests based on module name X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f7b1eb98f086b652746a3c301bad3e334f50c9e;p=cython.git filter cpp tests based on module name --- diff --git a/runtests.py b/runtests.py index d1ee8971..1406ebd5 100644 --- a/runtests.py +++ b/runtests.py @@ -147,6 +147,9 @@ class TestBuilder(object): languages = self.languages[:1] else: languages = self.languages + if 'cpp' in module and 'c' in languages: + languages = list(languages) + languages.remove('c') tests = [ self.build_test(test_class, path, workdir, module, language, expect_errors) for language in languages ]