diff options
Diffstat (limited to 'test/CC')
-rw-r--r-- | test/CC/CC.py | 6 | ||||
-rw-r--r-- | test/CC/SHCC.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CC/CC.py b/test/CC/CC.py index f6c2954..6363273 100644 --- a/test/CC/CC.py +++ b/test/CC/CC.py @@ -124,7 +124,7 @@ env.Program(target = 'test1', source = 'test1.c') test.run(arguments = '.', stderr = None) -test.must_match('test1' + _exe, "This is a .c file.\n") +test.must_match('test1' + _exe, "This is a .c file.\n", mode='r') if os.path.normcase('.c') == os.path.normcase('.C'): @@ -137,7 +137,7 @@ env.Program(target = 'test2', source = 'test2.C') """ % locals()) test.run(arguments = '.', stderr = None) - test.must_match('test2' + _exe, "This is a .C file.\n") + test.must_match('test2' + _exe, "This is a .C file.\n", mode='r') test.file_fixture('wrapper.py') @@ -157,7 +157,7 @@ test.up_to_date(arguments = 'foo' + _exe) test.run(arguments = 'bar' + _exe) -test.must_match('wrapper.out', "wrapper.py\n") +test.must_match('wrapper.out', "wrapper.py\n", mode='r') test.up_to_date(arguments = 'bar' + _exe) diff --git a/test/CC/SHCC.py b/test/CC/SHCC.py index beda8e4..c756219 100644 --- a/test/CC/SHCC.py +++ b/test/CC/SHCC.py @@ -75,7 +75,7 @@ test.must_not_exist(test.workpath('wrapper.out')) test.run(arguments = 'bar') -test.must_match('wrapper.out', "wrapper.py\n") +test.must_match('wrapper.out', "wrapper.py\n", mode='r') test.pass_test() |