diff options
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 148eb106..e7659760 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -2634,9 +2634,12 @@ if 'benchmark' not in sys.argv: self.do_test(src, re.sub('(^|\n)\s+', '\\1', expected)) def test_ctype(self): + # The bit fiddling done by the macros using __ctype_b_loc requires this. + global CORRECT_SIGNS; CORRECT_SIGNS = 1 src = open(path_from_root('tests', 'ctype', 'src.c'), 'r').read() expected = open(path_from_root('tests', 'ctype', 'output.txt'), 'r').read() self.do_test(src, expected) + CORRECT_SIGNS = 0 ### 'Big' tests |