aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-08-17 07:44:30 +0300
committermax99x <max99x@gmail.com>2011-08-17 07:44:30 +0300
commitee4b6ebf353585fb0eb0809a4b677f5694a9ba79 (patch)
tree772d9a2df3622a9f2ac8079af2b149c35d4d6ee7 /tests/runner.py
parent7172aacb563367fae198c25743827ef1195083aa (diff)
Implemented nl_langinfo().
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 ebebfc16..e7cdcff1 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2080,6 +2080,11 @@ if 'benchmark' not in sys.argv:
expected = open(path_from_root('tests', 'printf', 'output.txt'), 'r').read()
self.do_test(src, expected)
+ def test_langinfo(self):
+ src = open(path_from_root('tests', 'langinfo', 'test.c'), 'r').read()
+ expected = open(path_from_root('tests', 'langinfo', 'output.txt'), 'r').read()
+ self.do_test(src, expected)
+
def test_files(self):
global CORRECT_SIGNS; CORRECT_SIGNS = 1 # Just so our output is what we expect. Can flip them both.
def post(filename):