mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-02 06:25:37 +00:00
4691e012a9
The existing code relied on the Go build cache to avoid needless work when obtaining the tailscale binaries. For non-obvious reasons, the binaries were getting re-linked every time, which added 600ms or so on my machine to every test. Instead, build the binaries exactly once, on demand. This reduces the time to run 'go test -count=5' from 34s to 10s on my machine. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com> |
||
---|---|---|
.. | ||
testcontrol | ||
vms | ||
gen_deps.go | ||
integration_test.go | ||
integration.go | ||
tailscaled_deps_test_darwin.go | ||
tailscaled_deps_test_freebsd.go | ||
tailscaled_deps_test_linux.go | ||
tailscaled_deps_test_openbsd.go | ||
tailscaled_deps_test_windows.go |