[llvm] [LIT] Print discovered tests and percentages (PR #66057)

Madhur Amilkanthwar via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 09:03:12 PDT 2023


================
@@ -351,4 +353,4 @@ def print_summary(tests_by_code, quiet, elapsed):
     for (label, count) in groups:
         label = label.ljust(max_label_len)
         count = str(count).rjust(max_count_len)
-        print("  %s: %s" % (label, count))
+        print("  %s: %s (%.2f%%)" % (label, count, float(count) / total_tests * 100))
----------------
madhur13490 wrote:

Thanks. Will take it in a separate patch.

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


More information about the llvm-commits mailing list