Text file src/cmd/go/testdata/script/build_plugin_reproducible.txt

     1  [!buildmode:plugin] skip
     2  [short] skip
     3  
     4  # This test has problems when run on the LUCI darwin longtest builder,
     5  # which uses a more contemporary Xcode version that is unfriendly to
     6  # reproducible builds (see issue #64947 for the gory details). Note
     7  # that individual developers running "go test cmd/go" on Darwin may
     8  # still run into failures depending on their Xcode version.
     9  [GOOS:darwin] [go-builder] skip
    10  
    11  go build -trimpath -buildvcs=false -buildmode=plugin -o a.so main.go
    12  go build -trimpath -buildvcs=false -buildmode=plugin -o b.so main.go
    13  cmp -q a.so b.so
    14  
    15  -- main.go --
    16  package main
    17  
    18  func main() {}

View as plain text