diff options
author | Mats Wichmann <mats@linux.com> | 2019-03-06 20:31:57 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2019-03-07 15:59:19 (GMT) |
commit | 0868f0e7541e39237ef91a5382945679076c1b5d (patch) | |
tree | 1cd56416a3acbc4c3931795a4fe585e2d99cb7ea /testing | |
parent | 674ebaca7eef1706549e2d3ddbe563cb2f3864c6 (diff) | |
download | SCons-0868f0e7541e39237ef91a5382945679076c1b5d.zip SCons-0868f0e7541e39237ef91a5382945679076c1b5d.tar.gz SCons-0868f0e7541e39237ef91a5382945679076c1b5d.tar.bz2 |
scons-time needed to revert some changes
were breaking Windows tests.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/framework/TestSCons_time.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/framework/TestSCons_time.py b/testing/framework/TestSCons_time.py index e37d269..55248a4 100644 --- a/testing/framework/TestSCons_time.py +++ b/testing/framework/TestSCons_time.py @@ -38,18 +38,18 @@ import os import sys def write_args(fp, args): - fp.write(args[0] + os.linesep) + fp.write(args[0] + '\\n') for arg in args[1:]: - fp.write(' ' + arg + os.linesep) + fp.write(' ' + arg + '\\n') write_args(sys.stdout, sys.argv) for arg in sys.argv[1:]: if arg[:10] == '--profile=': with open(arg[10:], 'w') as profile: - profile.write('--profile' + os.linesep) + profile.write('--profile\\n') write_args(profile, sys.argv) break -sys.stdout.write('SCONS_LIB_DIR = ' + os.environ['SCONS_LIB_DIR'] + os.linesep) +sys.stdout.write('SCONS_LIB_DIR = ' + os.environ['SCONS_LIB_DIR'] + '\\n') with open('SConstruct', 'r') as f: script = f.read() exec(script) |