Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Issue 2360693002: instrumentation tests: Stop passing a generator to posixpath.join() (Closed)

Created:
4 years, 3 months ago by Raphael Kubo da Costa (rakuco)
Modified:
4 years, 3 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

instrumentation tests: Stop passing a generator to posixpath.join() Commit d4d66d4d ("Reland #2: Move side-loaded test data /sdcard -> /sdcard/gtestdata") introduced a regression in LocalDeviceInstrumentationTestRun.substitute_device_root() when it's passed a list: the posixpath.join() call ends up receiving a generator instead of multiple arguments. This means the call will return a generator instead of 'foo/bar/baz', which is not what's intended. R=jbudorick@chromium.org Committed: https://crrev.com/37ac2516dde8b3fb2647880c406961a9cf052c65 Cr-Commit-Position: refs/heads/master@{#420101}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/android/pylib/local/device/local_device_instrumentation_test_run.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Raphael Kubo da Costa (rakuco)
PTAL. It's also possible to just remove the isinstance(d, list) block altogether, as I think ...
4 years, 3 months ago (2016-09-21 15:43:32 UTC) #1
jbudorick
lgtm
4 years, 3 months ago (2016-09-21 15:50:54 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2360693002/1
4 years, 3 months ago (2016-09-21 15:52:34 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-21 18:01:13 UTC) #5
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 18:03:21 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/37ac2516dde8b3fb2647880c406961a9cf052c65
Cr-Commit-Position: refs/heads/master@{#420101}

Powered by Google App Engine
This is Rietveld 408576698