[PATCH] D39023: lit: Improve %: normalization.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 16:24:27 PDT 2017


ruiu added inline comments.


================
Comment at: llvm/utils/lit/lit/TestRunner.py:830
+    if kIsWindows:
+        return re.sub(r'^(.):', r'\1', path.replace('\\', '/'))
+    else:
----------------
This returns `/foo` for `C:\foo`, no?


https://reviews.llvm.org/D39023





More information about the llvm-commits mailing list