Fixed unexpected_passes_common on Windows
The PYTHONPATH is using separators that don't work on Windows, use Python's `os.pathsep` instead. Bug: 1222826 Change-Id: I472ec15c2d48fe47dcf950dd9a90d3b4832f24a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016895 Reviewed-by: John Chen <johnchen@chromium.org> Reviewed-by: Dirk Pranke <dpranke@google.com> Auto-Submit: Kyle Farnung <kfarnung@microsoft.com> Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#899746}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
18f19c885c
commit
24859c4817
@ -18,7 +18,8 @@ def CommonChecks(input_api, output_api):
|
||||
gpu_path = input_api.os_path.join(
|
||||
input_api.PresubmitLocalPath(), '..', 'content', 'test', 'gpu')
|
||||
testing_env.update({
|
||||
'PYTHONPATH': '%s:%s' % (input_api.PresubmitLocalPath(), gpu_path),
|
||||
'PYTHONPATH': input_api.os_path.pathsep.join(
|
||||
[input_api.PresubmitLocalPath(), gpu_path]),
|
||||
'PYTHONDONTWRITEBYTECODE': '1',
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user