Add a -skipgen flag.

This commit is contained in:
Nigel Tao committed 2017-10-26 11:03:55 +11:00
1 parent d61594b03f
commit c70fc8fcc6
2 files changed
+8 -2

No files matched your search

+3
View File
@@ -131,6 +131,9 @@ const (
repsMin = 0
repsMax = 1000000
repsUsage = `the number of repetitions per benchmark`
skipgenDefault = false
skipgenUsage = `whether to skip automatically generating code when testing`
)
func parseLangs(commaSeparated string) ([]string, error) {