summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/build_cgo_consistent_results.txt
blob: f22994f71fcaf5247c483af3e274d29d640bc4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[short] skip
[!cgo] skip

[GOOS:solaris] skip "skipping on Solaris; see golang.org/issue/13247"
[GOOS:illumos] skip "skipping on Solaris; see golang.org/issue/13247"

go build -o $WORK/exe1$GOEXE cgotest
go build -x -o $WORK/exe2$GOEXE cgotest

# TODO(matloob): skip if stderr does not contain '-fdebug-prefix-map=\$WORK'

cmp $WORK/exe1$GOEXE $WORK/exe2$GOEXE

-- go.mod --
module cgotest

go 1.16
-- m.go --
package cgotest

import "C"

var _ C.int