You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flag.IntVar(&splitTotal, "split-total", -1, "Total number of containers (or set CIRCLE_NODE_TOTAL)")
95
98
96
99
flag.StringVar(&circleCIAPIKey, "circleci-key", "", "CircleCI API key (or set CIRCLECI_API_KEY environment variable) - required to use CircleCI")
97
-
flag.StringVar(&circleCIProjectPrefix, "circleci-project", "", "CircleCI project name (e.g. github/leonid-shevtsov/circleci-test-balancer) - required to use CircleCI")
100
+
flag.StringVar(&circleCIProjectPrefix, "circleci-project", "", "CircleCI project name (e.g. github/leonid-shevtsov/split_tests) - required to use CircleCI")
98
101
flag.StringVar(&circleCIBranchName, "circleci-branch", "", "Current branch for CircleCI (or set CIRCLE_BRANCH) - required to use CircleCI")
99
102
100
103
flag.BoolVar(&useJUnitXML, "junit", false, "Use a JUnit XML report for test times")
101
104
flag.StringVar(&junitXMLPath, "junit-path", "", "Path to a JUnit XML report (leave empty to read from stdin)")
102
105
106
+
flag.BoolVar(&useLineCount, "line-count", false, "Use line count to estimate test times")
107
+
103
108
varshowHelpbool
104
109
flag.BoolVar(&showHelp, "help", false, "Show this help text")
105
110
@@ -126,7 +131,6 @@ func parseFlags() {
126
131
}
127
132
128
133
useCircleCI=circleCIAPIKey!=""
129
-
showHelp=showHelp||!useCircleCI&&!useJUnitXML
130
134
131
135
ifshowHelp {
132
136
printMsg("Splits test files into containers of even duration\n\n")
0 commit comments