Files
rocm-systems/projects/rocprofiler/tests-v2/featuretests/profiler/counter_validation_tests.cmake
T
systems-assistant[bot] 2e5bcec303 Add 'projects/rocprofiler/' from commit '16ae2e90c6157e98e846d2bccbaaf533ca5e662a'
git-subtree-dir: projects/rocprofiler
git-subtree-mainline: 2a52e3974d
git-subtree-split: 16ae2e90c6
2025-07-22 22:52:43 +00:00

33 rindas
1.2 KiB
CMake

# counter validation test - GRBM_COUNT
add_test(
NAME grbm_count_helloworld_test
COMMAND
${PROJECT_BINARY_DIR}/rocprofv2 -i
${PROJECT_BINARY_DIR}/tests-v2/featuretests/profiler/apps/input.txt -d
${PROJECT_BINARY_DIR}/out-grbm_count -o grbm
tests-v2/featuretests/profiler/apps/hip_helloworld
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}")
set_tests_properties(
grbm_count_helloworld_test PROPERTIES LABELS "v2;rocprofv2" ENVIRONMENT
"${ROCPROFILER_MEMCHECK_PRELOAD_ENV}")
add_test(
NAME grbm_count_helloworld_test_validation
COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/grbm_validate.py
"out-grbm_count/pmc_1/results_grbm.csv"
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}")
set_tests_properties(
grbm_count_helloworld_test_validation
PROPERTIES DEPENDS
grbm_count_helloworld_test
LABELS
"v2;validation"
PASS_REGULAR_EXPRESSION
"Test Passed"
FAIL_REGULAR_EXPRESSION
"AssertionError"
SKIP_REGULAR_EXPRESSION
"Skipped")