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

Added two tests not calling event calback upon error status #2028

Merged
merged 4 commits into from
Aug 20, 2024

Conversation

kamil-goras-mobica
Copy link
Contributor

#1900
Tested on POCL, callback is not called.

test_conformance/events/main.cpp Outdated Show resolved Hide resolved
test_conformance/events/test_callbacks.cpp Outdated Show resolved Hide resolved
lakshmih
lakshmih previously approved these changes Aug 12, 2024
bashbaug
bashbaug previously approved these changes Aug 15, 2024
Copy link
Contributor

@bashbaug bashbaug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, latest version LGTM!

Bikeshedding: The names of the new tests are currently "callback_not_called_simple" and "callback_not_called_enqueue_command", though this is a bit confusing because the tests are verifying that the callbacks are called, not that they are NOT called. Would it be better to call them something like "callback_on_error_simple" and "callback_on_error_enqueue_command"?

To be clear, I'm fine merging this as-is, and the test behavior looks good. Thanks!

@bashbaug
Copy link
Contributor

Merging as discussed in the August 20th teleconference.

@bashbaug bashbaug merged commit 6cbe8ca into KhronosGroup:main Aug 20, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants