[PATCH] D111457: [test] Add lit helper for windows paths

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 28 12:23:49 PST 2022


probinson added inline comments.


================
Comment at: llvm/utils/lit/lit/TestRunner.py:1124
+    if kIsWindows:
+        fs_root = 'C:\\'
+    substitutions.extend([
----------------
rnk wrote:
> It is pretty common to run the LLVM test suite on secondary drives, especially on buildbot VMs, to separate build disk usage from the root partition. Can we have two separators, `${srcroot}` and `${tmproot}` that expand to the drive letter of the source and temp path base? That seems like it would be general and implementable.
+1.  I don't even do builds on C: drive, on one of my machines.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111457



More information about the cfe-commits mailing list