You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Read the documentation for build/test caching from go help test. Then
$ go test -tags noasm gonum.org/v1/gonum/mat
ok gonum.org/v1/gonum/mat 44.695s
$ go test -tags noasm gonum.org/v1/gonum/mat
ok gonum.org/v1/gonum/mat (cached)
From this it's clear that -tags is not counted in test flags (and this is reasonably given the wording).
What did you expect to see?
No caching.
What did you see instead?
Happily, caching.
While the wording is consistent with the apparent intended meaning, it could be made clearer that build flags do not impact on caching for tests (if this is true - I could find no mention of caching in go help build or go help install or mention of which flags prevent caching (other than -a in go help cache)).
The text was updated successfully, but these errors were encountered:
If no one is working on this, I can take a go updating the ‘go help build’ and ‘go help install’ documentation. Please let me know if it makes sense to update any other help commands output.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Read the documentation for build/test caching from
go help test
. ThenFrom this it's clear that
-tags
is not counted in test flags (and this is reasonably given the wording).What did you expect to see?
No caching.
What did you see instead?
Happily, caching.
While the wording is consistent with the apparent intended meaning, it could be made clearer that build flags do not impact on caching for tests (if this is true - I could find no mention of caching in
go help build
orgo help install
or mention of which flags prevent caching (other than-a
ingo help cache
)).The text was updated successfully, but these errors were encountered: