Spell the "-b" flag fully, as "-bench".

This commit is contained in:
Nigel Tao committed 2017-06-30 08:50:12 +10:00
1 parent 84b3e6e5c2
commit 0cba6885fa
3 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ func benchTestDir(puffsRoot string, dirname string, langs []string, bench bool)
command := "puffs-test-" + lang
args := []string(nil)
if bench {
args = append(args, "-b")
args = append(args, "-bench")
}
args = append(args, filepath.Join(puffsRoot, "test", lang, filepath.FromSlash(dirname)))
cmd := exec.Command(command, args...)