diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-20 16:50:54 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-20 16:50:54 (GMT) |
commit | 18e4b000061b0cc22d5fbb44df4e68e740d7afb8 (patch) | |
tree | 9160b9feb418baa302cf5c9ed590cf1a66d36f2f /test/explain/save-info.py | |
parent | 2ce34914cff387ad0db3e8d3dd4347a79a058640 (diff) | |
download | SCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.zip SCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.tar.gz SCons-18e4b000061b0cc22d5fbb44df4e68e740d7afb8.tar.bz2 |
py2/3 fix win32 py27 failures. Also resolve some py3 failures
Diffstat (limited to 'test/explain/save-info.py')
-rw-r--r-- | test/explain/save-info.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/explain/save-info.py b/test/explain/save-info.py index 150d7ef..048ee8d 100644 --- a/test/explain/save-info.py +++ b/test/explain/save-info.py @@ -145,15 +145,15 @@ test.write(['src', 'subdir', 'file6.in'], "subdir/file6.in 1\n") # test.run(chdir='src', arguments='..') -test.must_match(['src', 'file1'], "file1.in 1\n") +test.must_match(['src', 'file1'], "file1.in 1\n", mode='r') test.must_match(['src', 'file2'], """\ file2.k 1 line 1 xxx 1 yyy 1 file2.k 1 line 4 -""") -test.must_match(['src', 'file3'], "xxx 1\nyyy 1\nzzz 1\n") -test.must_match(['src', 'file4'], "file4.in 1\n") +""", mode='r') +test.must_match(['src', 'file3'], "xxx 1\nyyy 1\nzzz 1\n", mode='r') +test.must_match(['src', 'file4'], "file4.in 1\n", mode='r') test.must_match(['src', 'file5'], """\ file5.k 1 line 1 aaa 1 @@ -162,7 +162,7 @@ ccc 1 ddd 1 eee.in 1 file5.k 1 line 4 -""") +""", mode='r') test.write(['src', 'file1.in'], "file1.in 2\n") test.write(['src', 'yyy'], "yyy 2\n") @@ -186,21 +186,21 @@ scons: rebuilding `file5' because `%(inc_bbb_k)s' changed test.run(chdir='src', arguments='--debug=explain .', stdout=expect) -test.must_match(['src', 'file1'], "file1.in 2\n") +test.must_match(['src', 'file1'], "file1.in 2\n", mode='r') test.must_match(['src', 'file2'], """\ file2.k 1 line 1 xxx 1 yyy 2 file2.k 1 line 4 -""") -test.must_match(['src', 'file3'], "xxx 1\nyyy 2\nzzz 2\n") +""", mode='r') +test.must_match(['src', 'file3'], "xxx 1\nyyy 2\nzzz 2\n", mode='r') test.must_match(['src', 'file5'], """\ file5.k 1 line 1 aaa 1 bbb.k 2 ccc 1 file5.k 1 line 4 -""") +""", mode='r') |