-
Notifications
You must be signed in to change notification settings - Fork 104
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
Fix for mir_performance_tests failure due to not cleaning up our displays #3080
Fix for mir_performance_tests failure due to not cleaning up our displays #3080
Conversation
6cc6303
to
ff41d81
Compare
Codecov Report
@@ Coverage Diff @@
## platform-API-merge #3080 +/- ##
======================================================
- Coverage 75.94% 75.92% -0.02%
======================================================
Files 1058 1058
Lines 74005 74028 +23
======================================================
+ Hits 56200 56206 +6
- Misses 17805 17822 +17
... and 4 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For clarity, should we be testing against EGL_NO_STREAM_KHR
(for example)?
And this looks like the same issue exists on main and maybe better applied there?
Yeah. I can't find it offhand, but I'm pretty sure that there's at least one |
We are already checking against The original error occurs in
|
@AlanGriffiths @RAOF I can move this to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what I meant.
Although, the tests are redundant: they test an invariant established in the constructor. (Which would be more obvious if the members were const
.)
d23b99e
to
a34f56b
Compare
How to test
sudo MIR_EXPERIMENTAL_HYBRID_GRAPHICS=1 MIR_SERVER_PLATFORM_RENDERING_LIBS=mir:eglstream-kms XDG_RUNTIME_DIR=/run/ ./bin/mir_performance_tests --gtest_filter=GLMark2Wayland.*
Expected output