mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
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
This commit is contained in:
parent
e41d3c015c
commit
ba69d3f6d4
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user