llvm.org GIT mirror llvm / ba69d3f
Disable r122754 on Windows: was causing all lit tests to fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122808 91177308-0d34-0410-b5e6-96231b3b80d8 Francois Pichet 8 years ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
450450 # expression pattern a with substitution b in line ln.
451451 def processLine(ln):
452452 # Apply substitutions
453 # FIXME: Investigate why re.sub doesn't work on Windows
453454 for a,b in substitutions:
454 ln = re.sub(a, b, ln)
455 if kIsWindows:
456 ln = ln.replace(a,b)
457 else:
458 ln = re.sub(a, b, ln)
455459
456460 # Strip the trailing newline and any extra whitespace.
457461 return ln.strip()