Skip to content

Cleanup/tests #379

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

Merged
merged 3 commits into from
Apr 8, 2021
Merged

Cleanup/tests #379

merged 3 commits into from
Apr 8, 2021

Conversation

oleksandr-pavlyk
Copy link
Contributor

  1. GTest requires test case names and test names to not have underscore. See Primer.

  2. In test_sycl_queue_manager some tests were being register with TEST( test_case_struct_name, name), but test_case_struct_name was deriving from a parameterized test, so these tests were never executed.

This PR fixes these two issues.

…cked up by GTEST.

This change introduces boiler-plate fixture TestQueueMgrFeatrues and groups tests that
used to be called with TEST in it.

It also adds two tests that queue manager can work with sub-devices.
One test for a single device context, and another for multi-device context.
@oleksandr-pavlyk oleksandr-pavlyk merged commit 01e6bc2 into master Apr 8, 2021
@oleksandr-pavlyk oleksandr-pavlyk deleted the cleanup/tests branch April 8, 2021 21:22
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.

1 participant