mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: use SeekPC in testDWARF
This makes the tests slightly faster, though the bulk of the time is still spent building the test programs. Also run some tests in parallel. Updates #26470 Change-Id: Ia5ec2b99831d69c426b43dbab80613aa03e705f5 Reviewed-on: https://go-review.googlesource.com/c/153258 Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
b97e40fc30
commit
e609bd373f
2 changed files with 22 additions and 37 deletions
|
|
@ -39,6 +39,8 @@ func TestLargeSymName(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestIssue21703(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
testenv.MustHaveGoBuild(t)
|
||||
|
||||
const source = `
|
||||
|
|
@ -78,6 +80,8 @@ func main() {}
|
|||
// to, for example, save facts produced by a modular static analysis
|
||||
// such as golang.org/x/tools/go/analysis.
|
||||
func TestIssue28429(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
testenv.MustHaveGoBuild(t)
|
||||
|
||||
tmpdir, err := ioutil.TempDir("", "issue28429-")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue