On Thu, Mar 19, 2020 at 10:28 PM Xiangdong JI <xiangdong...@arm.com> wrote:
>
> I'm trying to run 'go tool dist test' after the binary has been built 
> successfully, while always get a cached result,
> running "go clean -i -r -testcache <pkg>" and "go clean -cache" in prior 
> doesn't help, can anyone please help here?
> Thanks.
>
> $ go tool dist test -run=go_test:crypto/
>
> # go tool dist test -run=^go_test:crypto/aes$
> ok      crypto/aes      (cached)
> ok      crypto/cipher   (cached)
> ok      crypto/des      (cached)
> ok      crypto/dsa      (cached)
> ok      crypto/ecdsa    (cached)
> ok      crypto/ed25519  (cached)
> ok      crypto/elliptic (cached)
> ok      crypto/hmac     (cached)
> ok      crypto/internal/subtle  (cached)
> ok      crypto/md5      (cached)
> ok      crypto/rand     (cached)
> ok      crypto/rc4      (cached)
> ok      crypto/rsa      (cached)
> ok      crypto/sha1     (cached)
> ok      crypto/sha256   (cached)
> ok      crypto/sha512   (cached)
> ok      crypto/subtle   (cached)
> ok      crypto/tls      (cached)
> ok      crypto/x509     (cached)

Why are you running `go tool dist test` and not just `go test`?

Do you have GOARCH or GOOS set?

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcU0VeHO%2BdOCJO2zmb6hZ3ZWf3WovOscOXarEG5jPELPmg%40mail.gmail.com.

Reply via email to