forked from ROCm/rocm_smi_lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SWDEV-335697 + SWDEV-342812] Fix NPS & Compute tests
Updates: * Fixed rsmi_dev_compute_partition_get & rsmi_dev_nps_mode_get to properly check for invalid arguments * Updated compute partition & NPS mode tests - Now properly confirms the invalid argument is seen - Spacing for multiple devices is added to better see distinction between separate device's tests (for verbose output) - Changed expect to assert calls, so errors are observed faster for test failures - Fixed multiple device testing where a variable should have been unset, but having multiple devices caused it to set - Updated multiple device testing to iterate accross all devices (previously returned, instead of continuing checking support after RSMI_STATUS_NOT_SUPPORTED detected) - Fixed a few spelling errors & verbose output Change-Id: Ieba9e5b46763c6cd880fbf27fcdf58be8ecbc683 Signed-off-by: Charis Poag <[email protected]>
- Loading branch information
1 parent
fcb6afa
commit c252ecc
Showing
4 changed files
with
48 additions
and
55 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters