[PATCH] D103014: [lit] Attempt for fix tests failing because of 'warning: non-portable path to file'

David Stuttard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 04:28:56 PDT 2021


dstuttard added a comment.

In D103014#3018706 <https://reviews.llvm.org/D103014#3018706>, @krisb wrote:

> @dstuttard, could you please give an example that reproduces the issue?

I've been trying to recreate this with a vanilla llvm-project checkout and build on windows, but I'm struggling to get it to work. The problem itself shows up in our automated testing which is part of a larger application, so creating something standalone is difficult.

However, if you check out llvm with a long path (say c:\Testing\MyLongPath\MyReallyReallyLongPath\ThisIsVeryLongIndeed\llvm-project) you should see the problem.
Alternatively, if you simply mount a directory as a new driver using subst (subst x: c:\Testing\MyLongPath\MyReallyReallyLongPath\ThisIsVeryLongIndeed) and build/run llvm-lit testing from x:\llvm-project, you'll see that the llvm-lit will use the original c:\..... path rather than the new x: drive


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103014



More information about the llvm-commits mailing list