Adding verbose and changing threads (#771)

Co-authored-by: rocm <rocm@rocm-System-Kunal.amd.com>
This commit is contained in:
Kunal Malviya
2025-06-25 18:49:46 +05:30
committed by GitHub
orang tua 630bc149ff
melakukan 661de1d483
+8 -2
Melihat File
@@ -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})