From 0868f0e7541e39237ef91a5382945679076c1b5d Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Wed, 6 Mar 2019 13:31:57 -0700 Subject: scons-time needed to revert some changes were breaking Windows tests. Signed-off-by: Mats Wichmann --- testing/framework/TestSCons_time.py | 8 ++++---- 1 file 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) -- cgit v0.12