Skip to content

Conversation

@rreusser
Copy link
Member

@rreusser rreusser commented May 14, 2018

As mentioned in #479, there's a safari-specific half float bug that brings tests to a halt. Rather than a new failure, I believe this is instead the result of a new check for behavior that does seem broken in safari: 75730b6#diff-6d2e0d9813eb0b2330521d6a391021d3R169

This PR doesn't fix anything (Babylon, for one, just detects safari and reverts from half_float to float, I believe) but instead triggers a test failure that doesn't halt all tests.

In particular, it just wraps the test in a try/catch and reports a failure if it catches anything.

@rreusser rreusser requested a review from dy May 14, 2018 21:40
@dy
Copy link
Contributor

dy commented May 14, 2018

As far as we log them as failure I guess that is ok. 💃

@rreusser
Copy link
Member Author

rreusser commented May 14, 2018

Yeah, I don't love it. Didn't factor it out more so that it's easy to rip out if someone wants to improve things. 🙄 It's strictly a convenience so you can figure out more quickly what's passing or failing. WebGL seems vendor-specific enough that it's maybe more of a philosophical issue what it means for some particular tests to fail… like is accounting for safari's quirks the user's responsibility or regl's responsibility? 🤷‍♂️

@rreusser rreusser merged commit 29669a4 into regl-project:master May 14, 2018
@rreusser rreusser deleted the report-framebuffer-test-failure-without-throwing branch May 14, 2018 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants