diff options
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 06ad2d80..39ce4c84 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -2605,6 +2605,11 @@ if 'benchmark' not in sys.argv: ''' self.do_test(src, re.sub('(^|\n)\s+', '\\1', expected)) + def test_env(self): + src = open(path_from_root('tests', 'env', 'src.c'), 'r').read() + expected = open(path_from_root('tests', 'env', 'output.txt'), 'r').read() + self.do_test(src, expected) + ### 'Big' tests def test_fannkuch(self): |