diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-12 21:37:41 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-12 21:37:41 (GMT) |
commit | 9011a84a8660e2b79b2b51bc3160f8abc9694c19 (patch) | |
tree | d694300300a9f95eea7b4e127b795f2960936134 /test | |
parent | f5f057cd5399ca96ef521b16bd53e5b43daaaada (diff) | |
download | SCons-9011a84a8660e2b79b2b51bc3160f8abc9694c19.zip SCons-9011a84a8660e2b79b2b51bc3160f8abc9694c19.tar.gz SCons-9011a84a8660e2b79b2b51bc3160f8abc9694c19.tar.bz2 |
set mode=r and not rb for must_match. py2/3
Diffstat (limited to 'test')
-rw-r--r-- | test/CPPSUFFIXES.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/CPPSUFFIXES.py b/test/CPPSUFFIXES.py index 6aa5596..141df29 100644 --- a/test/CPPSUFFIXES.py +++ b/test/CPPSUFFIXES.py @@ -49,6 +49,7 @@ sys.exit(0) """) test.write('SConstruct', """ +DefaultEnvironment(tools=[]) env = Environment(CPPPATH = ['.'], CC = r'%(_python_)s mycc.py', CCFLAGS = [], @@ -94,7 +95,7 @@ test1.h 1 foo.h 1 test1.x 1 foo.h 1 -""") +""", mode='r') test.up_to_date(arguments='.') @@ -112,7 +113,7 @@ test1.h 1 foo.h 2 test1.x 1 foo.h 2 -""") +""", mode='r') test.up_to_date(arguments='.') @@ -134,7 +135,7 @@ test1.h 1 foo.h 2 test1.x 2 foo.h 2 -""") +""", mode='r') test.up_to_date(arguments='.') @@ -156,7 +157,7 @@ test1.h 2 foo.h 2 test1.x 2 foo.h 2 -""") +""", mode='r') test.up_to_date(arguments='.') |