]> Cypherpunks repositories - gostls13.git/commit
runtime: make tests that invoke 'go build' module-agnostic
authorBryan C. Mills <bcmills@google.com>
Thu, 14 Feb 2019 22:38:36 +0000 (17:38 -0500)
committerBryan C. Mills <bcmills@google.com>
Tue, 19 Feb 2019 19:56:43 +0000 (19:56 +0000)
commitcf155b00d18f855eaaf2a541190dba3ff7b7cf8a
treec25c77ebcaaa877cdcf7b127503fb461d7fa4551
parenta10b4cff91cb5d26e2049f6efc20349aa4d50d20
runtime: make tests that invoke 'go build' module-agnostic

In module mode, building the current directory requires a go.mod file
(in order to determine the import path of the package).

Change the tests to pass explicit file arguments instead, since those
can be built in module mode without defining a module.

Updates #30228

Change-Id: I680c658d1f79645f73ad4d1e88189ea50a4852e9
Reviewed-on: https://go-review.googlesource.com/c/162837
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/runtime/crash_unix_test.go
src/runtime/runtime-gdb_test.go