Commit 64f2cec3 by Ben Clayton

Regres: Adjust test transition rules for CI reporting

Not passing does not equal failing, and not failing does not equal passing, as there's the muddy waters of UNSUPPORTED and friends. Check for transitions of [not failing -> failing] and [not passing -> passing] as reasons to say something. Bug: b/137671242 Change-Id: Ibb612531da494738c411a1b3f1ac40a5c5078fdc Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/34188 Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent 763b7794
......@@ -993,9 +993,9 @@ func compare(old, new *CommitTestResults) string {
continue
}
switch {
case old.Status.Passing() && new.Status.Failing():
case !old.Status.Failing() && new.Status.Failing():
broken = append(broken, test)
case old.Status.Failing() && new.Status.Passing():
case !old.Status.Passing() && new.Status.Passing():
fixed = append(fixed, test)
case old.Status != new.Status:
changed = append(changed, test)
......
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