Commit 31d566a6 authored by alancutter's avatar alancutter Committed by Commit bot

Telemetry perf trybots: diff against master

git cl upload uses the tracking branch to diff against unless otherwise
specified. This change specifies the origin/master branch should be
used.

BUG=401180

Review URL: https://codereview.chromium.org/487433005

Cr-Commit-Position: refs/heads/master@{#291689}
parent 91966d30
...@@ -133,7 +133,7 @@ class PossibleTrybotBrowser(possible_browser.PossibleBrowser): ...@@ -133,7 +133,7 @@ class PossibleTrybotBrowser(possible_browser.PossibleBrowser):
# Upload the CL to rietveld and run a try job. # Upload the CL to rietveld and run a try job.
returncode, out, err = self._RunProcess([ returncode, out, err = self._RunProcess([
'git', 'cl', 'upload', '-f', '--bypass-hooks', '-m', 'git', 'cl', 'upload', '-f', '--bypass-hooks', '-m',
'CL for perf tryjob' 'CL for perf tryjob', 'origin/master'
]) ])
if returncode: if returncode:
logging.error('Could upload to reitveld, error %s', err) logging.error('Could upload to reitveld, error %s', err)
......
...@@ -167,7 +167,7 @@ class TrybotBrowserFinderTest(unittest.TestCase): ...@@ -167,7 +167,7 @@ class TrybotBrowserFinderTest(unittest.TestCase):
(['git', 'checkout', '-b', 'telemetry-tryjob'], (0, None, None)), (['git', 'checkout', '-b', 'telemetry-tryjob'], (0, None, None)),
(['git', 'commit', '-a', '-m', 'bisect config'], (0, None, None)), (['git', 'commit', '-a', '-m', 'bisect config'], (0, None, None)),
(['git', 'cl', 'upload', '-f', '--bypass-hooks', '-m', (['git', 'cl', 'upload', '-f', '--bypass-hooks', '-m',
'CL for perf tryjob'], 'CL for perf tryjob', 'origin/master'],
(0, 'stuff https://codereview.chromium.org/12345 stuff', None)), (0, 'stuff https://codereview.chromium.org/12345 stuff', None)),
(['git', 'cl', 'try', '-m', 'tryserver.chromium.perf', '-b', bot], (['git', 'cl', 'try', '-m', 'tryserver.chromium.perf', '-b', bot],
(0, None, None)), (0, None, None)),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment