1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Disable r122754 on Windows: was causing all lit tests to fail.

llvm-svn: 122808
This commit is contained in:
Francois Pichet 2011-01-04 10:23:42 +00:00
parent 1f58120bfe
commit 7b62eeaf56

View File

@ -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()