Ian Lance Taylor 7f38067acb testing: add Testing function
The Testing function reports whether the program is a test created
by "go test".

Fixes #52600

Change-Id: Ie0fff7c7dfdfdf997c18b4b6112632600b327cc8
Reviewed-on: https://go-review.googlesource.com/c/go/+/475496
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2023-03-13 21:58:46 +00:00
..
2023-03-11 05:07:02 +00:00
2023-03-13 21:58:46 +00:00
2023-01-24 22:06:45 +00:00
2023-01-30 16:00:58 +00:00
2023-02-15 21:56:30 +00:00
2023-02-03 04:37:17 +00:00
2023-02-02 19:39:34 +00:00
2023-02-13 21:00:42 +00:00
2023-02-03 18:22:53 +00:00
2023-02-02 16:40:29 +00:00