[ROCm 7.0] [PC sampling] Disable PC sampling tests if the GFX arch doesn't support it (#436)

Disable PC sampling tests if the GFX arch doesn't support it
此提交包含在:
Indic, Vladimir authored and GitHub committed 2025-06-06 18:47:47 +02:00
1 父節點 dff1e9acb5
當前提交 a24f486732
7 file changed
+173 -26

No files matched your search

+6 -1
查看文件
@@ -61,6 +61,9 @@ target_link_libraries(
PRIVATE pc-sampling-integration-test-client Threads::Threads
rocprofiler-sdk::tests-build-flags)
# Check if PC sampling is disabled and whether we should disable the test
rocprofiler_sdk_pc_sampling_disabled(IS_PC_SAMPLING_DISABLED)
add_test(NAME pc-sampling-integration-test
COMMAND $<TARGET_FILE:pc-sampling-integration-test>)
@@ -77,4 +80,6 @@ set_tests_properties(
ENVIRONMENT
"${pc-sampling-integration-test-env}"
FAIL_REGULAR_EXPRESSION
"${ROCPROFILER_DEFAULT_FAIL_REGEX}")
"${ROCPROFILER_DEFAULT_FAIL_REGEX}"
DISABLED
"${IS_PC_SAMPLING_DISABLED}")