OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import json | 5 import json |
6 | 6 |
7 from dashboard.pinpoint.models import quest as quest_module | 7 from dashboard.pinpoint.models import quest as quest_module |
8 | 8 |
9 | 9 |
10 def QuestGenerator(request): | 10 def QuestGenerator(request): |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 arguments = [self.benchmark] | 89 arguments = [self.benchmark] |
90 | 90 |
91 if self.story: | 91 if self.story: |
92 arguments += ('--story-filter', self.story) | 92 arguments += ('--story-filter', self.story) |
93 | 93 |
94 if self.repeat_count != 1: | 94 if self.repeat_count != 1: |
95 arguments += ('--pageset-repeat', str(self.repeat_count)) | 95 arguments += ('--pageset-repeat', str(self.repeat_count)) |
96 | 96 |
97 arguments += ('--browser', self.browser) | 97 arguments += ('--browser', self.browser) |
98 | 98 |
99 arguments += ('-v', '--upload-results', '--output-format', 'chartjson') | 99 arguments += ('-v', '--upload-results', '--output-format=chartjson') |
100 arguments += ( | 100 arguments += ( |
101 '--isolated-script-test-output', '${ISOLATED_OUTDIR}/output.json', | 101 '--isolated-script-test-output', '${ISOLATED_OUTDIR}/output.json', |
102 '--isolated-script-test-chartjson-output', | 102 '--isolated-script-test-chartjson-output', |
103 '${ISOLATED_OUTDIR}/chartjson-output.json', | 103 '${ISOLATED_OUTDIR}/chartjson-output.json', |
104 ) | 104 ) |
105 | 105 |
106 return arguments | 106 return arguments |
OLD | NEW |