Skip to content

Adding more unit tests to reach 80%#177

Merged
bgopesh merged 9 commits intodevelopfrom
import/develop/ROCm_aqlprofile/gobhardw_code-cov
Sep 11, 2025
Merged

Adding more unit tests to reach 80%#177
bgopesh merged 9 commits intodevelopfrom
import/develop/ROCm_aqlprofile/gobhardw_code-cov

Conversation

@systems-assistant
Copy link
Contributor


🔁 Imported from ROCm/aqlprofile#19
🧑‍💻 Originally authored by @rocm-devops

ammallya pushed a commit that referenced this pull request Aug 7, 2025
* Update continuous_integration.yml

* Updates from editor

[ROCm/rocprofiler-sdk commit: acab627]
systems-assistant bot pushed a commit that referenced this pull request Aug 10, 2025
Change-Id: Id3fff8f2722d521071ef0ff71b09fc365ef6fa82
jayhawk-commits pushed a commit that referenced this pull request Aug 18, 2025
Change-Id: Id3fff8f2722d521071ef0ff71b09fc365ef6fa82

[ROCm/clr commit: 588cf0f]
Copy link
Contributor

@bing-ma bing-ma left a comment

Choose a reason for hiding this comment

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

I only reviewed SPM tests and left some comments. These tests are good starting points for spm_builder code coverage, and we can gradually improve the test quality.

@bgopesh bgopesh merged commit 5b9ba5b into develop Sep 11, 2025
23 of 31 checks passed
@bgopesh bgopesh deleted the import/develop/ROCm_aqlprofile/gobhardw_code-cov branch September 11, 2025 06:35
systems-assistant bot pushed a commit to ROCm/aqlprofile that referenced this pull request Sep 11, 2025
* Adding more unit tests to reach 80%

* Adding pmc and command builder tests

* tests for spm, sqtt and trace config

* removing non-existent struct members from test

* Adding logger tests

* aqlprofile_v2 tests

* spm builder tests

* Addressed feedback
[rocm-systems] ROCm/rocm-systems#177 (commit 5b9ba5b)
rahulc-gh added a commit that referenced this pull request Sep 11, 2025
sauverma93 pushed a commit that referenced this pull request Sep 26, 2025
* Adding more unit tests to reach 80%

* Adding pmc and command builder tests

* tests for spm, sqtt and trace config

* removing non-existent struct members from test

* Adding logger tests

* aqlprofile_v2 tests

* spm builder tests

* Addressed feedback

---------

Co-authored-by: gobhardw <gopesh.bhardwaj@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
ryang-amd pushed a commit that referenced this pull request Nov 7, 2025
* Adding more unit tests to reach 80%

* Adding pmc and command builder tests

* tests for spm, sqtt and trace config

* removing non-existent struct members from test

* Adding logger tests

* aqlprofile_v2 tests

* spm builder tests

* Addressed feedback

---------

Co-authored-by: gobhardw <gopesh.bhardwaj@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
ammallya pushed a commit that referenced this pull request Nov 17, 2025
- Updates:
    - Adding the following metrics to allow new calculations for violation status:
        - Per XCP metrics gfx_below_host_limit_ppt_acc
        - Per XCP metrics gfx_below_host_limit_thm_acc
        - Per XCP metrics gfx_low_utilization_acc
        - Per XCP metrics gfx_below_host_limit_total_acc
    - Increasing available JPEG engines to 40. Current ASICs may not support all 40. These will be indicated as UINT16_MAX or N/A in CLI.

Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Co-authored-by: Charis Poag <Charis.Poag@amd.com>
ammallya pushed a commit that referenced this pull request Nov 18, 2025
- Updates:
    - Adding the following metrics to allow new calculations for violation status:
        - Per XCP metrics gfx_below_host_limit_ppt_acc
        - Per XCP metrics gfx_below_host_limit_thm_acc
        - Per XCP metrics gfx_low_utilization_acc
        - Per XCP metrics gfx_below_host_limit_total_acc
    - Increasing available JPEG engines to 40. Current ASICs may not support all 40. These will be indicated as UINT16_MAX or N/A in CLI.

Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Co-authored-by: Charis Poag <Charis.Poag@amd.com>

[ROCm/amdsmi commit: 7c882b2]
ammallya pushed a commit that referenced this pull request Nov 21, 2025
- Updates:
    - Adding the following metrics to allow new calculations for violation status:
        - Per XCP metrics gfx_below_host_limit_ppt_acc
        - Per XCP metrics gfx_below_host_limit_thm_acc
        - Per XCP metrics gfx_low_utilization_acc
        - Per XCP metrics gfx_below_host_limit_total_acc
    - Increasing available JPEG engines to 40. Current ASICs may not support all 40. These will be indicated as UINT16_MAX or N/A in CLI.

Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Co-authored-by: Charis Poag <Charis.Poag@amd.com>

[ROCm/amdsmi commit: 7c882b2]
ammallya pushed a commit that referenced this pull request Jan 21, 2026
ammallya pushed a commit that referenced this pull request Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants