diff options
Diffstat (limited to 'test/YACC.py')
-rw-r--r-- | test/YACC.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/YACC.py b/test/YACC.py index 486200c..8fea904 100644 --- a/test/YACC.py +++ b/test/YACC.py @@ -140,12 +140,16 @@ newline: '\n'; test.run(arguments = 'foo' + _exe, stderr = None) + test.up_to_date(arguments = 'foo' + _exe) + test.fail_test(os.path.exists(test.workpath('wrapper.out'))) test.run(program = test.workpath('foo'), stdin = "a\n", stdout = "foo.y\n") test.run(arguments = 'bar' + _exe) + test.up_to_date(arguments = 'bar' + _exe) + test.fail_test(test.read('wrapper.out') != "wrapper.py\n") test.run(program = test.workpath('bar'), stdin = "b\n", stdout = "bar.y\n") |