[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
[ROCm/rocprofiler-sdk commit: a24f486732]
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
bb942ef500
commit
e5097d6a36
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user