summaryrefslogtreecommitdiffstats
path: root/test/srcchange.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-20 22:18:31 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-20 22:18:31 (GMT)
commit4c83816c2bdd84cc67a6935142b99312416f25d6 (patch)
tree3778e897f778ac5d483cdef52e627c934a4f8f84 /test/srcchange.py
parentd8b448824f85dba57bb1a971d596dcd096edfd65 (diff)
downloadSCons-4c83816c2bdd84cc67a6935142b99312416f25d6.zip
SCons-4c83816c2bdd84cc67a6935142b99312416f25d6.tar.gz
SCons-4c83816c2bdd84cc67a6935142b99312416f25d6.tar.bz2
added mode='r' for must_matches, and for one case added mode='w' for source file failing to compile with compiler complaining about mac formatted file
Diffstat (limited to 'test/srcchange.py')
-rw-r--r--test/srcchange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/srcchange.py b/test/srcchange.py
index bef3589..f9e1523 100644
--- a/test/srcchange.py
+++ b/test/srcchange.py
@@ -103,7 +103,7 @@ test.must_exist(program_name)
test.run(arguments='.', stdout=light_build)
test.must_exist(program_name)
-test.write('revnum.in', '3.3\n')
+test.write('revnum.in', '3.3\n', mode='w')
test.run(arguments='.')
test.must_exist(program_name)