You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/scripts
Daniel Martí 64cbbbaa0f update modinfo.txt test for 1.18's build and VCS info
That is, use a very specific build tag and git commit,
and ensure that neither ends up in the binary.

Luckily, we have nothing to do here.
We were already removing _gomod_.go from the build entirely,
and that is still the mechanism that "go build" uses to bundle the data.

Note that the test will still work if git is not installed,
but it will simply not check the VCS side.

Finally, we use "go version -m" to check the existing fields,
which is easier than calling the Go APIs directly.

It seems like "go test" passes on yesterday's Go master, now.
So, enable test-gotip again with that commit hash.

Fixes #385.
3 years ago
..
asm.txt drop support for Go 1.16.x 4 years ago
basic.txt drop support for Go 1.16.x 4 years ago
cgo.txt drop support for Go 1.16.x 4 years ago
crossbuild.txt drop support for Go 1.16.x 4 years ago
debugdir.txt drop support for Go 1.16.x 4 years ago
embed.txt drop support for Go 1.16.x 4 years ago
goprivate.txt Obfuscate more packages of the standard library (#312) 4 years ago
goversion.txt drop support for Go 1.16.x 4 years ago
help.txt always require one argument for "reverse" 4 years ago
implement.txt drop support for Go 1.16.x 4 years ago
imports.txt drop support for Go 1.16.x 4 years ago
init.txt drop support for Go 1.16.x 4 years ago
ldflags.txt drop support for Go 1.16.x 4 years ago
linkname.txt Fix linkname directives with dots in importpath (#407) 4 years ago
literals.txt testdata: fix typo in literals.txt 4 years ago
modinfo.txt update modinfo.txt test for 1.18's build and VCS info 3 years ago
plugin.txt drop support for Go 1.16.x 4 years ago
position.txt drop support for Go 1.16.x 4 years ago
reflect.txt drop support for Go 1.16.x 4 years ago
reverse.txt testdata: make reverse.txt pass with Go 1.18 3 years ago
runtime-related.txt Obfuscate more packages of the standard library (#312) 4 years ago
seed.txt drop support for Go 1.16.x 4 years ago
syntax.txt drop support for Go 1.16.x 4 years ago
test.txt drop support for Go 1.16.x 4 years ago
tiny.txt drop support for Go 1.16.x 4 years ago