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

Issue 1195933003: Unskip testGetBranchesInfo(). (Closed)

Created:
5 years, 6 months ago by Raphael Kubo da Costa (rakuco)
Modified:
5 years, 6 months ago
Reviewers:
iannucci, pgervais
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Unskip testGetBranchesInfo(). It is not clear why it was skipped in r293502, but it was problematic before that as it can be seen from CL 802403003. The reason for the different results (and likely the reason why the test was skipped) is that the handling of the %(upstream:track) and %(upstream:trackhort) formatting tags was broken in git itself until version 2.3.0. This was fixed in git commit b6160d95, and the fix shows that the test expectations in testGetBranchesInfo() were actually wrong in one of the cases. Fix the expectations and make sure we only use %(upstream:track) in the test when a suitable git version is present. R=pgervais@chromium.org,iannucci@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=295814

Patch Set 1 #

Patch Set 2 : Patch v2, without extra variable in the tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M git_common.py View 1 1 chunk +4 lines, -3 lines 0 comments Download
M tests/git_common_test.py View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Raphael Kubo da Costa (rakuco)
PTAL. We first came across those errors in for-each-ref in https://codereview.chromium.org/802403003 last year. At the ...
5 years, 6 months ago (2015-06-23 12:41:36 UTC) #1
pgervais
On 2015/06/23 12:41:36, Raphael Kubo da Costa (rakuco) wrote: > PTAL. We first came across ...
5 years, 6 months ago (2015-06-24 00:52:51 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195933003/20001
5 years, 6 months ago (2015-06-24 08:40:20 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: depot_tools_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/depot_tools_presubmit/builds/83)
5 years, 6 months ago (2015-06-24 08:45:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195933003/20001
5 years, 6 months ago (2015-06-24 08:49:54 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-24 08:54:42 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=295814

Powered by Google App Engine
This is Rietveld 408576698