Skip to content
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 derived command-buffer Skip() checks #2217

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EwanC
Copy link
Contributor

@EwanC EwanC commented Jan 9, 2025

It was noticed during another PR review https://github.com/KhronosGroup/OpenCL-CTS/pull/2207/files#r1903921283 that there
was a case where the return value of a Skip() check was ignored, this is fixed in this PR.

I've also tracking down occurrences of derived class overriding the Skip() test fixture method, but not calling the parents class Skip() check inside of the method. I believe omitting this parent skip check wasn't intentional, it's clearer to explicitly respect the parent classes skip conditions, even if we've got away with not needing too due to the way the derived class skip conditions have been defined.

It was noticed during another PR review https://github.com/KhronosGroup/OpenCL-CTS/pull/2207/files#r1903921283
that there were cases in the command-buffer tests whether a derived
class overriding the `Skip()` test fixture method was not calling
the parents class `Skip()` check.

I've tracked down the occurrences where this is happening and
fixed them up, as I believe this is an omission rather than
intentional behavior.
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