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

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

Issue 1872763002: [CT] Split benchmarkArgs around one or more consecutive white spaces (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Initial upload 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/run_chromium_perf/main.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ct/go/worker_scripts/run_chromium_perf_swarming/main.go
diff --git a/ct/go/worker_scripts/run_chromium_perf_swarming/main.go b/ct/go/worker_scripts/run_chromium_perf_swarming/main.go
index 6f62977613f3633d53f755c215c81eea1e670191..3eaaa8fc4a928db2e2dc33a6d11971d4b5494803 100644
--- a/ct/go/worker_scripts/run_chromium_perf_swarming/main.go
+++ b/ct/go/worker_scripts/run_chromium_perf_swarming/main.go
@@ -154,7 +154,7 @@ func runBenchmark(fileInfoName, pathToPagesets, localOutputDir, chromiumBuildNam
}
// Split benchmark args if not empty and append to args.
if *benchmarkExtraArgs != "" {
- args = append(args, strings.Split(*benchmarkExtraArgs, " ")...)
+ args = append(args, strings.Fields(*benchmarkExtraArgs)...)
}
// Add the number of times to repeat.
args = append(args, fmt.Sprintf("--page-repeat=%d", *repeatBenchmark))
« no previous file with comments | « ct/go/worker_scripts/run_chromium_perf/main.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698