Commit 1fc5254a authored by Michael Stapelberg's avatar Michael Stapelberg

ci-diff: compare exit status only, not error message

A number of error messages are different on pretty much every
invocation (containing test timing details, memory addresses, etc.), rendering
such a comparison useless (too low signal-to-noise ratio).
parent 34f4744d
......@@ -87,7 +87,7 @@ func diff(beforePath, afterPath string) error {
// Does not compile before nor after:
if a.Out != b.Out {
if a.Err != b.Err {
// does not compile with a different error
fmt.Printf("still does not compile (but different error): %s. error %q (before: %q)\n", importPath, a.Err, b.Err)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment