-
Notifications
You must be signed in to change notification settings - Fork 66
Fix: Handling GTEST_FAIL logic for multi-device scenario for power, performance and scheduler modules #284
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: Handling GTEST_FAIL logic for multi-device scenario for power, performance and scheduler modules #284
Conversation
…erformance and scheduler modules. Primary JIRA: VLCLJ-2513 Sub-tasks: VLCLJ-2570, VLCLJ-2568, VLCLJ-2577 Signed-off-by: viki435 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes GTEST_FAIL logic for handling multi-device scenarios in power, performance, and scheduler test modules. The changes ensure that tests only fail when no handles are found across all devices, rather than failing when a single device lacks support.
- Updated test classes to track feature support across devices with boolean flags
- Modified failure logic to accumulate support status and only fail if no devices support the feature
- Improved logging to provide clearer information about device-specific support status
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.
File | Description |
---|---|
test_sysman_scheduler.cpp | Added is_scheduler_supported flag and updated all test functions to track support across devices |
test_sysman_power.cpp | Added is_power_supported flag and updated all test functions to track support across devices |
test_sysman_performance.cpp | Added is_performance_supported flag and updated all test functions to track support across devices |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
LGTM! |
Refer #273 for comments. |
Primary JIRA: VLCLJ-2513
Sub-tasks: VLCLJ-2570, VLCLJ-2568, VLCLJ-2577
Fix: Handling GTEST_FAIL logic for multi-device scenario for power, performance and scheduler modules.