[llvm] [llvm][llvm-lit] Add option to create unique result file names if results already exist (PR #112729)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 01:13:46 PDT 2024


https://github.com/jh7370 commented:

I assume you expect the area which will contain the results files will be clean before running the tests in the first place? Otherwise you'll end up having stale results files in addition to new results files, and then sweeping them all up will result in spurious data being recorded.

Another thought I had is you could just name the results file after the specific lit suite it comes from (presumably derived from the directory path or similar somehow?). In this way, new results will overwrite old results without cleanup, but should also be uniquely named.

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


More information about the llvm-commits mailing list