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

Reorganised urEventGetProfilingInfo test into separate tests instead of a switch #2626

Merged

Conversation

martygrant
Copy link
Contributor

For #2290

Also done a housekeeping pass across all urXGetInfo tests, renaming and adding consts where appropriate, and adding extra checks to tests with vectors.

@github-actions github-actions bot added the conformance Conformance test suite issues. label Jan 27, 2025
@martygrant martygrant force-pushed the martin/getinfo-property-rename branch 4 times, most recently from b7a32e5 to fb30178 Compare January 30, 2025 09:09
@martygrant martygrant marked this pull request as ready for review January 30, 2025 09:09
@martygrant martygrant requested a review from a team as a code owner January 30, 2025 09:09
@martygrant
Copy link
Contributor Author

martygrant commented Jan 31, 2025

I've added some more changes to this PR, tidying up some more char[] return query tests, and added in a helper macro ASSERT_GET_INFO to validate numerical queries, and function stringPropertyIsValid for char[] returns. Could use a re-review.

@martygrant martygrant force-pushed the martin/getinfo-property-rename branch 2 times, most recently from a2f7b34 to a58da89 Compare February 5, 2025 16:03
…of a switch and rework various urXGetInfo tests:

- Housekeeping pass to tidy up tests, renaming and adding consts where appropriate
- Added ASSERT_QUERY_RETURNS_VALUE and uur::stringPropertyIsValid helpers from oneapi-src#2597
- Used above helpers across all tests to better validate numerical and char[] queries, and reworked some char[] queries
- Removed any non useful checks on vector sizes after passing them into a urXGetInfo query
@martygrant martygrant force-pushed the martin/getinfo-property-rename branch from a58da89 to b52be5b Compare February 5, 2025 16:45
@martygrant martygrant merged commit 95e03b4 into oneapi-src:main Feb 7, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conformance Conformance test suite issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants