Adding verbose and changing threads (#771)
Co-authored-by: rocm <rocm@rocm-System-Kunal.amd.com>
[ROCm/rocprofiler-compute commit: 661de1d483]
Šī revīzija ir iekļauta:
revīziju iesūtīja
GitHub
vecāks
429b17a1e0
revīzija
fba643793b
@@ -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})
|
||||
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user