DTS: HCL: Run only platform specific checks
Component
Dasharo Tools Suite
Device
other
Dasharo version
No response
Dasharo Tools Suite version
2.7.2-rc1
Test case ID
No response
Brief summary
For the DTS 2.7.2 RC-1 a new, AMD AMD-specific tools were added (amdtool, psptool). As for now DTS does not recognize the platform type (AMD, Intel) it's running on, thus all checks are being performed. This means Intel specific tools will fail on AMD platform and vice versa. The idea here is to detect the platform type, and don't run utilities that are not designed for target platform and will always fail.
How reproducible
allways
How to reproduce
- Boot DTS.
- Run HCL report.
- Repeat on other platform type.
Expected behavior
HCL report runs only platform specific checks, or some checks are skipped instead of failing.
Actual behavior
Checks for AMD run on Intel platforms and vice versa.
Screenshots
No response
Additional context
For TUI we could either add "SKIPPED" to ["UNKNOWN", "OK", "ERROR"] or just omit those checks.
Solutions you've tried
No response