[blinkpy] Do not use CWD as output dir on Swarming
The merge_web_test_results.py script used to use the current working directory when --output-directory isn't specified but --output-json is (which is the case on Swarming). This could be dangerous as the script will clean everything in the output directory. This CL changes the behaviour to always create a temporary output directory if it's not specified. Bug: 960994 Change-Id: If1dd0f060557e7fb7014ea0a1dc2ba0bf234e1e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1606820Reviewed-by:John Budorick <jbudorick@chromium.org> Commit-Queue: Robert Ma <robertma@chromium.org> Cr-Commit-Position: refs/heads/master@{#659717}
Showing
Please register or sign in to comment