The issue happens at building time of 'go test' for misc/cgo/test, I was expecting 'go test' is powerful enough to skip building a specific case given a negation pattern and without involving tags, but just realized it's a wrong way, 'go test' always builds all dependency stuff.
Now the requirements are: 1. not building Test7978 on arm64 when running the 'dist' test, and 2. minimize the change so that it could be reverted easily when the link issue gets fixed later. To disable the testing to misc/cgo/test for several 'internal linking' cases on arm64 is an option, but that means other 90 tests are skipped meanwhile. On Tuesday, September 1, 2020 at 12:43:57 PM UTC+8 Kurtis Rader wrote: > On Mon, Aug 31, 2020 at 9:03 PM xiangd...@arm.com <xiangd...@arm.com> > wrote: > >> Thanks for replying, background is the github issue 39466 >> <https://github.com/golang/go/issues/39466>and its potential fix >> <https://go-review.googlesource.com/c/go/+/237858>under reviewing, we >> are trying not to introduce any additional test files and tags but seeking >> for a change to test command line only, >> other opinions are welcome. >> > > Okay, those links are helpful (and should have been in your first > message). I only skimmed each of them but I don't understand why being able > to "define a 'negation' pattern" is preferable to using `-tags` to define a > "positive pattern" for tests to be run. > > -- > Kurtis Rader > Caretaker of the exceptional canines Junior and Hank > -- 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/b909a788-a4b3-4e97-b1c3-0c319eae497en%40googlegroups.com.