This patch propogates the environment variable SYSTEMDRIVE on Windows when
running the unit tests. This prevents the creation of a directory named
"%SystemDrive%" when running the unit tests from FileSystemTest that use the
function llvm::sys::fs::remove_directories which in turn uses SHFileOperationW.
It is within SHFileOperationW that this environment variable may be used and if
undefined causes the creation of a "%SystemDrive%" directory in the current
directory.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I don't disbelieve you, but do you have any thoughts about why I've never seen this when running tests locally?
Comment Actions
Yes, this is a bit of a strange one. It has only started happening fairly recently (a week or 2), so we suspect that it might be a Windows change that's triggered it. I'm running on Windows 10 Pro x64 1607 build 14393.1066.