From bcb29869b38023a4c8545f9bf9c9be05b4160052 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 8 Apr 2010 19:48:48 -0700 Subject: [PATCH] Allow cpp error test. It's really sad that we don't have any of these yet. --- runtests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index 83dfd057..af1ee66f 100644 --- 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: -- 2.26.2