]> Cypherpunks repositories - gostls13.git/commit
debug/gosym: run TestPCLine on Linux/AMD64 in short mode
authorCherry Mui <cherryyz@google.com>
Thu, 30 Sep 2021 16:02:56 +0000 (12:02 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 30 Sep 2021 16:34:25 +0000 (16:34 +0000)
commitd4aed7e42cd187c3031350489dba814f29f215a5
tree47ea6dad6b3f18a99293f3a4986f3c1ebdaef8e6
parentb043d231fa1e1cbc17ddcfb007d92d83dee72428
debug/gosym: run TestPCLine on Linux/AMD64 in short mode

Currently TestPCLine is skipped in short mode. The test builds a
Linux/AMD64 binary, so it makes sense to skip it if we're cross
compiling, as building the runtime takes a while. But if we are
on Linux/AMD64, it will only build a small amount of code, which
isn't really slow. The test runs in 0.14 second on my machine.
I think it is acceptable to run in short mode. Then we'll have
trybot coverage for this test.

Change-Id: If682f88c28050f7daafde35b4f9e59c03b764a35
Reviewed-on: https://go-review.googlesource.com/c/go/+/353330
Trust: Cherry Mui <cherryyz@google.com>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/debug/gosym/pclntab_test.go