From 085d6ff5312a789b8c34c51e84e4a2b39a6631ca Mon Sep 17 00:00:00 2001 From: Jeremy Faller Date: Thu, 2 Dec 2021 13:47:39 -0500 Subject: [PATCH] doc/go1.18: add docs for -count when benchmarking CL 356669 Updates #47694 Change-Id: I49e0cdd3b34e81e9e44020a8eb1304d78249cd66 Reviewed-on: https://go-review.googlesource.com/c/go/+/368677 Trust: Jeremy Faller Run-TryBot: Jeremy Faller Reviewed-by: Michael Pratt TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor --- doc/go1.18.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/go1.18.html b/doc/go1.18.html index 77c26bc257..4a09cb6773 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -782,11 +782,17 @@ Do not send CLs removing the interior tags from such phrases.
testing

- TODO: https://golang.org/cl/343883: increase alternation precedence + The precedence of / in the argument for -run and + -bench has been increased. A/B|C/D used to be + treated as A/(B|C)/D and is now treated as + (A/B)/(C/D).

- TODO: https://golang.org/cl/356669: skip extra -count iterations if there are no tests + If the -run option does not select any tests, the + -count option is ignored. This could change the behavior of + existing tests in the unlikely case that a test changes the set of subtests + that are run each time the test function itself is run.