Try to fix ProcessSkiaGoldRenderTestResults.
The function uses adb pull to fetch a directory, and relies on being able to do "adb pull /foo/src /existing/dir" and get a directory "/existing/dir/src" containing the files from "/foo/src". The adb pull helper checks that the pull succeeded by seeing if the destination path exists after the pull, but since the destination is an existing host directory this check always passes no matter what happened in the pull. Append the actual directory name we're interested in copying to the destination, so that the check will work as expected; this way if the pull doesn't work we will fail during the pull instead of failing when we do os.listdir() subsequently. Bug: 1106750 Change-Id: I73b4966cde926f756d5e6774d73b1bf27adaacf0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308031Reviewed-by:Brian Sheedy <bsheedy@chromium.org> Reviewed-by:
Tibor Goldschwendt <tiborg@chromium.org> Commit-Queue: Richard Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/master@{#790094}
Showing
Please register or sign in to comment