plugeth/cmd/geth
Felix Lange 39b0b1a1a6
all: make unit tests work with Go 1.13 (#20053)
Most of these changes are related to the Go 1.13 changes to test binary
flag handling. 

* cmd/geth: make attach tests more reliable

This makes the test wait for the endpoint to come up by polling
it instead of waiting for two seconds.

* tests: fix test binary flags for Go 1.13

Calling flag.Parse during package initialization is prohibited
as of Go 1.13 and causes test failures. Call it in TestMain instead.

* crypto/ecies: remove useless -dump flag in tests

* p2p/simulations: fix test binary flags for Go 1.13

Calling flag.Parse during package initialization is prohibited
as of Go 1.13 and causes test failures. Call it in TestMain instead.

* build: remove workaround for ./... vendor matching

This workaround was necessary for Go 1.8. The Go 1.9 release changed
the expansion rules to exclude vendored packages.

* Makefile: use relative path for GOBIN

This makes the "Run ./build/bin/..." line look nicer.

* les: fix test binary flags for Go 1.13

Calling flag.Parse during package initialization is prohibited
as of Go 1.13 and causes test failures. Call it in TestMain instead.
2019-09-11 14:41:22 +02:00
..
testdata cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
accountcmd_test.go all: replace passPHRASE with passWORD in user interactions (#19932) 2019-08-12 12:00:38 +03:00
accountcmd.go all: replace passPHRASE with passWORD in user interactions (#19932) 2019-08-12 12:00:38 +03:00
chaincmd.go core/state, cmd/geth: streaming json output for dump command (#15475) 2019-06-24 17:16:44 +03:00
config.go acmd, core, eth, les: support --override.istanbul 2019-08-23 12:09:27 +03:00
consolecmd_test.go all: make unit tests work with Go 1.13 (#20053) 2019-09-11 14:41:22 +02:00
consolecmd.go cmd/geth: set up cache and metrics when starting node (#19911) 2019-08-15 14:54:16 +02:00
dao_test.go all: clean up and proerly abstract database access 2019-03-06 13:35:03 +02:00
genesis_test.go cmd/geth: remove the tail "," from genesis config (#17028) 2018-06-21 10:44:39 +03:00
main.go acmd, core, eth, les: support --override.istanbul 2019-08-23 12:09:27 +03:00
misccmd.go cmd, internal/build, docker: advertise commit date in unstable build versions (#19522) 2019-05-08 16:44:28 +03:00
retesteth_copypaste.go cmd: Add retesteth command (to support execution and generation of tests via retesteth) (#19631) 2019-06-05 14:03:23 +02:00
retesteth.go retesteth: enable maxResults in AccountRange (#20020) 2019-09-02 11:49:49 +02:00
run_test.go all: make unit tests work with Go 1.13 (#20053) 2019-09-11 14:41:22 +02:00
usage.go cmd, eth, les: make les flags conform to dotted style 2019-07-10 09:12:07 +03:00