]> Cypherpunks repositories - gostls13.git/commit
runtime: use at least "system" traceback level for runtime tests
authorAustin Clements <austin@google.com>
Thu, 14 Jan 2016 21:43:40 +0000 (16:43 -0500)
committerAustin Clements <austin@google.com>
Fri, 15 Jan 2016 02:22:46 +0000 (02:22 +0000)
commit1556c317f1eb3df4f41e9a69cb4192dc27d09d82
tree7ea96caf5d7be631118116398a48f5f434aef8e0
parentc5a2f364d3c0ba355f6a1a63e9f4bee96a48e332
runtime: use at least "system" traceback level for runtime tests

While the default behavior of eliding runtime frames from tracebacks
usually makes sense, this is not the case when you're trying to test
the runtime itself. Fix this by forcing the traceback level to at
least "system" in the runtime tests.

This will specifically help with debugging issue #13645, which has
proven remarkably resistant to reproduction outside of the build
dashboard itself.

Change-Id: I2a8356ba6c3c5badba8bb3330fc527357ec0d296
Reviewed-on: https://go-review.googlesource.com/18648
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/runtime/export_test.go
src/runtime/runtime_test.go