From 1f7b1eb98f086b652746a3c301bad3e334f50c9e Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 9 Apr 2009 04:49:14 -0700 Subject: [PATCH] filter cpp tests based on module name --- runtests.py | 3 +++ 1 file changed, 3 insertions(+) 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 ] -- 2.26.2