diff options
author | max99x <max99x@gmail.com> | 2011-08-17 07:44:30 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-08-17 07:44:30 +0300 |
commit | ee4b6ebf353585fb0eb0809a4b677f5694a9ba79 (patch) | |
tree | 772d9a2df3622a9f2ac8079af2b149c35d4d6ee7 /tests/runner.py | |
parent | 7172aacb563367fae198c25743827ef1195083aa (diff) |
Implemented nl_langinfo().
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 5 |
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): |