[llvm] r329026 - [lit] One more try at fixing TestRunner.py for D43165
Aaron Smith via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 2 15:34:35 PDT 2018
Author: asmith
Date: Mon Apr 2 15:34:35 2018
New Revision: 329026
URL: http://llvm.org/viewvc/llvm-project?rev=329026&view=rev
Log:
[lit] One more try at fixing TestRunner.py for D43165
Modified:
llvm/trunk/utils/lit/lit/TestRunner.py
Modified: llvm/trunk/utils/lit/lit/TestRunner.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestRunner.py?rev=329026&r1=329025&r2=329026&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestRunner.py (original)
+++ llvm/trunk/utils/lit/lit/TestRunner.py Mon Apr 2 15:34:35 2018
@@ -2,6 +2,7 @@ from __future__ import absolute_import
import difflib
import errno
import functools
+import io
import itertools
import getopt
import os, signal, subprocess, sys
@@ -387,6 +388,8 @@ def executeBuiltinDiff(cmd, cmd_shenv):
return path, sorted(child_trees)
def compareTwoFiles(filepaths):
+ compare_bytes = False
+ encoding = None
filelines = []
for file in filepaths:
compare_bytes = False
More information about the llvm-commits
mailing list