Skip to content

Artifacts dir support#5

Merged
ansel1 merged 2 commits intomasterfrom
artifactsdir
Feb 25, 2026
Merged

Artifacts dir support#5
ansel1 merged 2 commits intomasterfrom
artifactsdir

Conversation

@ansel1
Copy link
Contributor

@ansel1 ansel1 commented Feb 23, 2026

Supports the new -artifacts flag in go1.26: if set, logs for each test will be saved to $artifactDir/flumetest/flumetest_.log

It also backfills -artifacts flag for older versions of go, so you can start using go test -artifacts before upgrading to go1.26.

The artifact dir defaults to $outputDir (another test flag), which defaults to cwd.

If -artifacts is not set, logs are inlined in the test log as usual.

@ansel1 ansel1 force-pushed the artifactsdir branch 9 times, most recently from 0cf636d to 0cbfdb6 Compare February 25, 2026 14:19
@ansel1 ansel1 merged commit ab9996b into master Feb 25, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant