Skip to content

Conversation

@AlexeySachkov
Copy link
Contributor

Tests were made more informative by printing information about a test case and mismatched data on failure.
This is done to speed up and simplify failure analysis.

Tests were made more informative by printing information about a test
case and mismatched data on failure.
This is done to speed up and simplify failure analysis.
Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

Looks good overall. I do like failure counters, but please ignore my comment if you disagree.

validated = false;
}

return validated;
Copy link
Contributor

Choose a reason for hiding this comment

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

Alternatively, we could make validated an int, increment it on failure and return it. That could be the value returned by the main function too. Effectively also lets us count the number of failures. It is minor though.

@AlexeySachkov
Copy link
Contributor Author

Looks good overall. I do like failure counters, but please ignore my comment if you disagree.

I can submit a follow-up PR which introduces failure counter, but I find it less useful to know how many sub-tests failed vs knowing which sub-tests failed, so I will proceed with the merge as-is for now.

@AlexeySachkov AlexeySachkov merged commit b9f2e92 into intel:sycl Sep 9, 2025
27 of 28 checks passed
@AlexeySachkov AlexeySachkov deleted the private/asachkov/refactor-some-bindless-image-copy-tests branch September 9, 2025 14:24
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