1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00

Revert r374665: "[lit] Try yet again to fix new tests that fail on Windows bots"

This series of patches still breaks a Windows bot.

llvm-svn: 374677
This commit is contained in:
Joel E. Denny 2019-10-12 18:51:18 +00:00
parent 56234906c5
commit 4c98f87a0a

View File

@ -95,9 +95,6 @@ def compareTwoTextFiles(flags, filepaths, filelines_bin, encoding):
func = difflib.unified_diff if flags.unified_diff else difflib.context_diff
for diff in func(filelines[0], filelines[1], filepaths[0], filepaths[1],
n = flags.num_context_lines):
if hasattr(diff, 'decode'):
# python 2.7
diff = diff.decode()
sys.stdout.write(diff)
exitCode = 1
return exitCode