[rocprof-sys] Add test to check perfetto files have been merged (#1863)

Этот коммит содержится в:
Milan Radosavljevic
2025-11-17 17:50:40 +01:00
коммит произвёл GitHub
родитель 828921c616
Коммит db111129ab
+23
Просмотреть файл
@@ -54,6 +54,29 @@ rocprofiler_systems_add_test(
"(perfetto-trace|trip_count|sampling_percent|sampling_cpu_clock|sampling_wall_clock|wall_clock)-[0-9][0-9]+.(json|txt|proto)|ROCPROFSYS_ABORT_FAIL_REGEX"
)
rocprofiler_systems_add_test(
SKIP_RUNTIME
NAME "mpi-perfetto-merge"
TARGET mpi-example
MPI ON
NUM_PROCS 2
LABELS "perfetto-merge"
REWRITE_ARGS
-e
-v
2
--label
file
line
--min-instructions
0
ENVIRONMENT "${_base_environment};ROCPROFSYS_VERBOSE=1"
REWRITE_RUN_PASS_REGEX
"Successfully executed: .+rocprof-sys-merge-output.sh.*"
REWRITE_RUN_FAIL_REGEX
"Script not found|Failed to execute|ROCPROFSYS_ABORT_FAIL_REGEX"
)
rocprofiler_systems_add_test(
SKIP_RUNTIME
NAME "mpi-flat-mpip"