projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e41d3c0
)
Disable r122754 on Windows: was causing all lit tests to fail.
author
Francois Pichet
<pichet2000@gmail.com>
Tue, 4 Jan 2011 10:23:42 +0000
(10:23 +0000)
committer
Francois Pichet
<pichet2000@gmail.com>
Tue, 4 Jan 2011 10:23:42 +0000
(10:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122808
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/lit/TestRunner.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/TestRunner.py
b/utils/lit/lit/TestRunner.py
index bf6eed86917e4a6f65b8280f1794dd1312b9488b..6430cddf9120fcbed843b786586802899d3b82ec 100644
(file)
--- a/
utils/lit/lit/TestRunner.py
+++ b/
utils/lit/lit/TestRunner.py
@@
-451,8
+451,12
@@
def parseIntegratedTestScript(test, normalize_slashes=False):
# expression pattern a with substitution b in line ln.
def processLine(ln):
# Apply substitutions
+ # FIXME: Investigate why re.sub doesn't work on Windows
for a,b in substitutions:
- ln = re.sub(a, b, ln)
+ if kIsWindows:
+ ln = ln.replace(a,b)
+ else:
+ ln = re.sub(a, b, ln)
# Strip the trailing newline and any extra whitespace.
return ln.strip()