aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-07-30 16:12:36 +0300
committermax99x <max99x@gmail.com>2011-07-30 16:12:36 +0300
commitee54249f11b9e4048dfc459bd8e432617c81d4e1 (patch)
tree31fbaebf1bb090e40c4d7767e76be00f691b4c61 /tests/runner.py
parentaf695b99f5e5308a27c19b956489a702461683da (diff)
Fixed ctype.h implementation; added test for it.
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 32234ba2..d1d12dfc 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2607,6 +2607,11 @@ if 'benchmark' not in sys.argv:
expected = open(path_from_root('tests', 'env', 'output.txt'), 'r').read()
self.do_test(src, expected)
+ def test_ctype(self):
+ 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)
+
### 'Big' tests
def test_fannkuch(self):