[llvm] [lit] Add --wtt-output option to report results in WTT (.wtl) format (PR #211066)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 12:09:22 PDT 2026


================
@@ -302,3 +302,165 @@ def _get_test_event(self, test, first_start_time):
             "dur": int(elapsed_time * 1000000.0),
             "name": test_name,
         }
+
+
+def _wtt_attr(text):
+    # Prepare text for a WTT XML attribute value: flatten newlines/tabs to
----------------
boomanaiden154 wrote:

This should be written as a docstring so it shows up properly in IDEs.

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


More information about the llvm-commits mailing list