-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/image/draw: TestFastPaths fails on Go 1.4 #11921
Comments
I don't know what to do here. The x/image/draw tests have hard-coded pixel-perfect golden results. Those golden results changed between Go 1.4 and Go 1.5, as per a deliberate change to the stdlib's image/color package, e.g. https://go-review.googlesource.com/#/c/8073/ |
Sorry, this particular test isn't really a compare-to-golden, it's calculate the result two ways: a fast way inside x/image/draw, and a slow way using stdlib's image/draw. The fast way is hard-coded to use Go 1.5's color conversion formulae. |
Just call it "known bad" and skip it on Go 1.4. |
CL https://golang.org/cl/12861 mentions this issue. |
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Fixes golang/go#11921 Change-Id: Iafca8b21523d486ce9b2be494b8fb93216573968 Reviewed-on: https://go-review.googlesource.com/12861 Reviewed-by: Andrew Gerrand <[email protected]>
Part of #11811 (subrepos needing to be green), the image repo's tests are broken on Go 1.4:
For @nigeltao.
The text was updated successfully, but these errors were encountered: