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 <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Auto-Submit: Kyle Farnung <[email protected]>
Commit-Queue: Brian Sheedy <[email protected]>
Cr-Commit-Position: refs/heads/master@{#899746}
diff --git a/testing/PRESUBMIT.py b/testing/PRESUBMIT.py
index 6e4d2e1..d04a511 100644
--- a/testing/PRESUBMIT.py
+++ b/testing/PRESUBMIT.py
@@ -18,7 +18,8 @@
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',
})