diff options
| author | Damien Neil <dneil@google.com> | 2025-08-15 15:24:05 -0700 |
|---|---|---|
| committer | Damien Neil <dneil@google.com> | 2025-10-07 14:39:32 -0700 |
| commit | bb1ca7ae81ea8ca49a2773ace8ccff8fbc7f4dfd (patch) | |
| tree | 0b65e043ac16bc325d7c36e615c65715bcf06626 /api/next | |
| parent | 162392773085d4cc12072200853a0424117983c0 (diff) | |
| download | go-bb1ca7ae81ea8ca49a2773ace8ccff8fbc7f4dfd.tar.xz | |
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>
Diffstat (limited to 'api/next')
| -rw-r--r-- | api/next/71287.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/next/71287.txt b/api/next/71287.txt new file mode 100644 index 0000000000..c1e09a1f52 --- /dev/null +++ b/api/next/71287.txt @@ -0,0 +1,4 @@ +pkg testing, method (*B) ArtifactDir() string #71287 +pkg testing, method (*F) ArtifactDir() string #71287 +pkg testing, method (*T) ArtifactDir() string #71287 +pkg testing, type TB interface, ArtifactDir() string #71287 |
