go/api/next
Damien Neil bb1ca7ae81 cmd/go, testing: add TB.ArtifactDir and -artifacts flag
Add TB.ArtifactDir, which returns a directory for a test to store
output files in. Add a -artifacts testflag which enables persistent
storage of artifacts in the output directory (-outputdir, or the
current directory by default).

Fixes #71287

Change-Id: I5f6515a6cd6c103f88588f4c033d5ea11ffd0c3c
Reviewed-on: https://go-review.googlesource.com/c/go/+/696399
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2025-10-07 14:39:32 -07:00
..
49097.txt net: context aware Dialer.Dial functions 2025-08-11 14:26:10 -07:00
51945.txt errors: add AsType 2025-09-30 10:22:08 -07:00
61642.txt net/netip: export Prefix.Compare, fix ordering 2025-09-03 15:10:15 -07:00
63963.txt crypto/ecdsa: deprecate direct use of big.Int fields in keys 2025-09-09 12:20:39 -07:00
65954.txt log/slog: add multiple handlers support for logger 2025-09-04 11:07:44 -07:00
67546.txt database/sql: allow drivers to override Scan behavior 2025-08-11 14:27:36 -07:00
67813.txt net/http: add HTTP2Config.StrictMaxConcurrentRequests 2025-09-26 16:14:14 -07:00
70352.txt os: add (*Process).WithHandle 2025-09-15 12:17:42 -07:00
71287.txt cmd/go, testing: add TB.ArtifactDir and -artifacts flag 2025-10-07 14:39:32 -07:00
73161.txt net/http/httputil: deprecate ReverseProxy.Director 2025-10-02 12:53:31 -07:00