diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-13 23:24:15 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-13 23:24:15 -0400 |
commit | bfcb8661d8fa5b210c2b216f48f9b9f35b4e1d7f (patch) | |
tree | 96f6919e6a664a4268777ca6d9b1ebdcf34396da /test/VariantDir | |
parent | dc086e8b9faff16883edfe4b3a8f6bb5e685a2a3 (diff) | |
download | scons-bfcb8661d8fa5b210c2b216f48f9b9f35b4e1d7f.tar.gz |
py2/3 add mode=r to must_match to fix win32 py27,py3
Diffstat (limited to 'test/VariantDir')
-rw-r--r-- | test/VariantDir/Clean.py | 4 | ||||
-rw-r--r-- | test/VariantDir/File-create.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/VariantDir/Clean.py b/test/VariantDir/Clean.py index b2e93a33..12870346 100644 --- a/test/VariantDir/Clean.py +++ b/test/VariantDir/Clean.py @@ -57,10 +57,10 @@ test.write('sample.in', "sample.in\n") test.run(arguments = '.') -test.must_match(['build0', 'sample.out'], "sample.in\n") +test.must_match(['build0', 'sample.out'], "sample.in\n", mode='r') test.must_exist(['build0', 'sample.junk']) -test.must_match(['build1', 'sample.out'], "sample.in\n") +test.must_match(['build1', 'sample.out'], "sample.in\n", mode='r') test.must_exist(['build1', 'sample.junk']) test.run(arguments = '-c .') diff --git a/test/VariantDir/File-create.py b/test/VariantDir/File-create.py index 50db618e..25e6c090 100644 --- a/test/VariantDir/File-create.py +++ b/test/VariantDir/File-create.py @@ -60,10 +60,10 @@ open('f2.in', 'w').write("f2.in\\n") test.run(arguments = '--tree=all .') #test.must_match(['build0', 'f1.out'], "f1.in\n") -test.must_match(['build0', 'f2.out'], "f2.in\n") +test.must_match(['build0', 'f2.out'], "f2.in\n", mode='r') #test.must_match(['build1', 'f1.out'], "f1.in\n") -test.must_match(['build1', 'f2.out'], "f2.in\n") +test.must_match(['build1', 'f2.out'], "f2.in\n", mode='r') test.up_to_date(arguments = '.') |