From e370a18a6d4cd6f95e212e4cf19db68a753decf4 Mon Sep 17 00:00:00 2001 From: Karl W Schulz Date: Fri, 15 Mar 2024 13:43:28 -0500 Subject: [PATCH] restore test_analyze_workloads to a single ctest Signed-off-by: Karl W Schulz [ROCm/rocprofiler-compute commit: e6a00789b47cc3edb7233b7b22d2deaf97c4b0a1] --- projects/rocprofiler-compute/CMakeLists.txt | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/projects/rocprofiler-compute/CMakeLists.txt b/projects/rocprofiler-compute/CMakeLists.txt index 97b3d47a06..6838c882bf 100644 --- a/projects/rocprofiler-compute/CMakeLists.txt +++ b/projects/rocprofiler-compute/CMakeLists.txt @@ -243,28 +243,21 @@ set_tests_properties( test_profile_misc PROPERTIES LABELS "profile" RESOURCE_GROUPS gpus:1) -# original add_test( NAME test_profiler_general COMMAND pytest ${COV_OPTION} -# ${PROJECT_SOURCE_DIR}/tests/test_profile_general.py WORKING_DIRECTORY -# ${PROJECT_SOURCE_DIR}) - # --------------------------- # analysis command tests # --------------------------- add_test( NAME test_analyze_commands - COMMAND - pytest -n ${PYTEST_NUMPROCS} -m "not serial" - --junitxml=tests/test_analyze_commands.xml ${COV_OPTION} - ${PROJECT_SOURCE_DIR}/tests/test_analyze_commands.py - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}) - -add_test( - NAME test_analyze_commands_serial - COMMAND pytest -m "serial" --junitxml=tests/test_analyze_commands_serial.xml + COMMAND pytest -n ${PYTEST_NUMPROCS} --junitxml=tests/test_analyze_commands.xml ${COV_OPTION} ${PROJECT_SOURCE_DIR}/tests/test_analyze_commands.py WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}) +# add_test( NAME test_analyze_commands_serial COMMAND pytest -m "serial" +# --junitxml=tests/test_analyze_commands_serial.xml ${COV_OPTION} +# ${PROJECT_SOURCE_DIR}/tests/test_analyze_commands.py WORKING_DIRECTORY +# ${PROJECT_SOURCE_DIR}) + # --------------------------- # analyze workloads tests # ---------------------------