• Russ Cox's avatar
    all: respect $GO_GCFLAGS during run.bash · 2beb173e
    Russ Cox authored
    If the go install doesn't use the same flags as the main build
    it can overwrite the installed standard library, leading to
    flakiness and slow future tests.
    
    Force uses of 'go install' etc to propagate $GO_GCFLAGS
    or disable them entirely, to avoid problems.
    
    As I understand it, the main place this happens is the ssacheck builder.
    If there are other uses that need to run some of the now-disabled
    tests we can reenable fixed tests in followup CLs.
    
    Change-Id: Ib860a253539f402f8a96a3c00ec34f0bbf137c9a
    Reviewed-on: https://go-review.googlesource.com/74470Reviewed-by: default avatarDavid Crawshaw <crawshaw@golang.org>
    2beb173e
testenv.go 6.89 KB