[PATCH] D154280: [LIT] Added an option to llvm-lit to emit the necessary test coverage data, divided per test case

Henrik G Olsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 2 05:31:36 PDT 2023


hnrklssn added inline comments.


================
Comment at: llvm/utils/lit/lit/TestRunner.py:1133
+            llvm_profile_file = test_case_name + ".profraw"
+            env = {"LLVM_PROFILE_FILE": llvm_profile_file}
+        else:
----------------
This looks like it might remove other existing env vars. Could you add a test case checking that other variables remain also?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154280/new/

https://reviews.llvm.org/D154280



More information about the llvm-commits mailing list