]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf test: Add shell test to validate JUnit XML reporting output
authorIan Rogers <irogers@google.com>
Tue, 2 Jun 2026 17:41:26 +0000 (10:41 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 4 Jun 2026 14:41:33 +0000 (11:41 -0300)
commit0dd6025171436822e54ae556dc48aed89c42b6a9
tree980ad955fc5cde731cdfc8ad548c76111a0e7a4a
parente2c545737bf4387d1217d3608274823421e1dbf2
perf test: Add shell test to validate JUnit XML reporting output

Add a shell test script (test_test_junit_output.sh) to execute perf test
with the -j/--junit option and validate that the generated test report
complies perfectly with standard XML formatting using Python's
ElementTree XML parser.

Assisted-by: Gemini-CLI:Google Gemini 3
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/test_test_junit_output.sh [new file with mode: 0755]