scionproto / scion

SCION Internet Architecture
https://scion.org
Apache License 2.0
381 stars 160 forks source link

serrors: remove bottom of stacktrace, test without lineno #4494

Closed matzf closed 6 months ago

matzf commented 6 months ago

Remove the bottom of stacktraces attached by serrors, as this always a relatively uninteresting line in the runtime (currently, "runtime.goexit src/runtime/asm_amd64.s:1650").

For the serrors tests, strip the file/line number referring to the go test framework, to avoid false negatives when running tests with slightly different go SDK version.

Fixes #4493.

matzf commented 6 months ago

This change is Reviewable