aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/build_plugin_reproducible.txt
blob: aa489df728108eab0fa4c2f5619bf6ac787619eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[!buildmode:plugin] skip
[short] skip

# This test has problems when run on the LUCI darwin longtest builder,
# which uses a more contemporary Xcode version that is unfriendly to
# reproducible builds (see issue #64947 for the gory details). Note
# that individual developers running "go test cmd/go" on Darwin may
# still run into failures depending on their Xcode version.
[GOOS:darwin] [go-builder] skip

go build -trimpath -buildvcs=false -buildmode=plugin -o a.so main.go
go build -trimpath -buildvcs=false -buildmode=plugin -o b.so main.go
cmp -q a.so b.so

-- main.go --
package main

func main() {}