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

Unified Diff: ct/go/worker_scripts/fix_archives/main.go

Issue 1870173002: [CT] Add desktop device when running run_benchmark (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ct/go/worker_scripts/capture_skps/main.go ('k') | ct/go/worker_scripts/run_chromium_perf/main.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ct/go/worker_scripts/fix_archives/main.go
diff --git a/ct/go/worker_scripts/fix_archives/main.go b/ct/go/worker_scripts/fix_archives/main.go
index 86145f462d4e73be8b0e80005d0e138163614383..3df6fda5f53ca55758d4b644fafea3a2fa37b04c 100644
--- a/ct/go/worker_scripts/fix_archives/main.go
+++ b/ct/go/worker_scripts/fix_archives/main.go
@@ -163,9 +163,7 @@ func main() {
args = append(args, "--browser=exact", "--browser-executable="+chromiumBinary)
// Split benchmark args if not empty and append to args.
if *benchmarkArgs != "" {
- for _, benchmarkArg := range strings.Fields(*benchmarkArgs) {
- args = append(args, benchmarkArg)
- }
+ args = append(args, strings.Fields(*benchmarkArgs)...)
}
// Add browserArgs if not empty to args.
if *browserArgs != "" {
« no previous file with comments | « ct/go/worker_scripts/capture_skps/main.go ('k') | ct/go/worker_scripts/run_chromium_perf/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698