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/script
Daniel Martí d1da066120 print chosen seed when building with -seed=random
The seedFlag.random field had never worked,
as my refactor in December 2021 never set it to true.

Even if the boolean was working, we only printed the random seed
when we failed. It's still useful to see it when a build succeeds,
for example when wanting to reproduce the same binary
or when wanting to reverse a panic from the produced binary.

Add a test this time.

Fixes #696.
2 years ago
..
asm.txtar drop support for Go 1.19 2 years ago
atomic.txtar ensure the alignment of sync/atomic types works 2 years ago
basic.txtar drop support for Go 1.19 2 years ago
cgo.txtar drop support for Go 1.19 2 years ago
crossbuild.txtar drop support for Go 1.19 2 years ago
debugdir.txtar drop support for Go 1.19 2 years ago
embed.txtar drop support for Go 1.19 2 years ago
goenv.txtar drop support for Go 1.19 2 years ago
gogarble.txtar drop support for Go 1.19 2 years ago
goversion.txtar drop support for Go 1.19 2 years ago
help.txtar drop support for Go 1.19 2 years ago
implement.txtar drop support for Go 1.19 2 years ago
imports.txtar drop support for Go 1.19 2 years ago
init.txtar drop support for Go 1.19 2 years ago
ldflags.txtar drop support for Go 1.19 2 years ago
linker.txtar use the host's GOEXE when building the linker 2 years ago
linkname.txtar drop support for Go 1.19 2 years ago
list_error.txtar avoid panic when a package's imports cannot be loaded 2 years ago
literals.txtar internal/literals: re-enable the seed obfuscator 2 years ago
modinfo.txtar drop support for Go 1.19 2 years ago
plugin.txtar drop support for Go 1.19 2 years ago
position.txtar drop support for Go 1.19 2 years ago
reflect.txtar drop support for Go 1.19 2 years ago
reverse.txtar drop bits of code to support Go 1.19 2 years ago
seed-cache.txtar drop support for Go 1.19 2 years ago
seed.txtar print chosen seed when building with -seed=random 2 years ago
syntax.txtar drop support for Go 1.19 2 years ago
test.txtar drop support for Go 1.19 2 years ago
tiny.txtar drop support for Go 1.19 2 years ago
typeparams.txtar drop support for Go 1.19 2 years ago