From fba643793b6da2088683f9b0afa914bcea8c5d06 Mon Sep 17 00:00:00 2001 From: Kunal Malviya Date: Wed, 25 Jun 2025 18:49:46 +0530 Subject: [PATCH] Adding verbose and changing threads (#771) Co-authored-by: rocm [ROCm/rocprofiler-compute commit: 661de1d48310f46be4af8e354ea2b73b2b38a455] --- projects/rocprofiler-compute/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler-compute/CMakeLists.txt b/projects/rocprofiler-compute/CMakeLists.txt index a6ebdd30e2..0ff773a226 100644 --- a/projects/rocprofiler-compute/CMakeLists.txt +++ b/projects/rocprofiler-compute/CMakeLists.txt @@ -191,6 +191,12 @@ set(PYTEST_NUMPROCS CACHE STRING "Number of parallel threads to use with CPU-oriented tests") message(STATUS "Pytest CPU threadcount: ${PYTEST_NUMPROCS}") +#2 CPU threads available for testing(test-analyze-commands) +set(PYTEST_NUMPROCS_ANALYSIS + "4" + CACHE STRING "Number of parallel threads to use with CPU-oriented tests") +message(STATUS "Pytest CPU threadcount: ${PYTEST_NUMPROCS_ANALYSIS}") + # --------------------------- # profile mode tests # --------------------------- @@ -269,8 +275,8 @@ set_tests_properties( add_test( NAME test_analyze_commands COMMAND - ${Python3_EXECUTABLE} -m pytest -n ${PYTEST_NUMPROCS} - --junitxml=tests/test_analyze_commands.xml ${COV_OPTION} + ${Python3_EXECUTABLE} -m pytest -n ${PYTEST_NUMPROCS_ANALYSIS} + --verbose --junitxml=tests/test_analyze_commands.xml ${COV_OPTION} ${PROJECT_SOURCE_DIR}/tests/test_analyze_commands.py WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})