File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
71
71
tweaked the Util package doc build so it's structured more like the
72
72
other packages (a missed part of the transition when it was split).
73
73
- Updated manpage description of Command "builder" and function.
74
+ - Framework for scons-time tests adjusted so a path with a long username
75
+ Windows has squashed doesn't get re-expanded. Fixes a problem seen
76
+ on GitHub Windows runner which uses a name "runneradmin".
74
77
75
78
76
79
RELEASE 4.7.0 - Sun, 17 Mar 2024 17:22:20 -0700
Original file line number Diff line number Diff line change 40
40
41
41
from TestCommon import *
42
42
from TestCommon import __all__
43
+ from TestCmd import IS_WINDOWS
43
44
# some of the scons_time tests may need regex-based matching:
44
45
from TestSCons import search_re , search_re_in_list
45
46
@@ -236,7 +237,11 @@ def tempdir_re(self, *args):
236
237
except AttributeError :
237
238
pass
238
239
else :
239
- tempdir = realpath (tempdir )
240
+ # Don't realpath on Windows, tempdir could contain 8+3 path
241
+ # E.g. username on GitHub runner is "runneradmin" -> "RUNNER~1"
242
+ # We don't want to convert that back!
243
+ if not IS_WINDOWS :
244
+ tempdir = realpath (tempdir )
240
245
241
246
args = (tempdir , 'scons-time-' ,) + args
242
247
x = os .path .join (* args )
Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ test/packaging/msi/package.py
33
33
test/packaging/tar/xz_packaging.py
34
34
test/scons-time/run/config/python.py
35
35
test/scons-time/run/option/python.py
36
- test/scons-time/run/option/quiet.py
37
- test/scons-time/run/option/verbose.py
38
36
test/sconsign/script/no-SConsignFile.py
39
37
test/sconsign/script/SConsignFile.py
40
38
test/sconsign/script/Signatures.py
You can’t perform that action at this time.
0 commit comments