[clang] [llvm] [ci] New script to generate test reports as Buildkite Annotations (PR #113447)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 10:35:52 PDT 2024


================
@@ -0,0 +1,328 @@
+# Script to parse many JUnit XML result files and send a report to the buildkite
+# agent as an annotation.
+#
+# To run the unittests:
+# python3 -m unittest discover -p generate_test_report.py
+
+import argparse
+import unittest
+from io import StringIO
+from junitparser import JUnitXml, Failure
----------------
boomanaiden154 wrote:

This seems like this needs a `requirements.txt` file somewhere? Ideally with a lock file similar to how we have other Python scripts setup in the CI.

It seems like it might already be installed on the Buildkite side though?

https://github.com/llvm/llvm-project/pull/113447


More information about the llvm-commits mailing list