diff options
| author | Aaron Smith <aaron.smith@microsoft.com> | 2018-04-02 22:34:35 +0000 | 
|---|---|---|
| committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-04-02 22:34:35 +0000 | 
| commit | 637fd446d926fc35d14fbe59fe38117997b9d582 (patch) | |
| tree | 9b07540e8d7db4cfb9a8b48d73d8b6c5e3b31c4e /llvm/utils/lit | |
| parent | 13aeee0d36199e0c54c1b045540383d8383b030c (diff) | |
| download | bcm5719-llvm-637fd446d926fc35d14fbe59fe38117997b9d582.tar.gz bcm5719-llvm-637fd446d926fc35d14fbe59fe38117997b9d582.zip | |
[lit] One more try at fixing TestRunner.py for D43165
llvm-svn: 329026
Diffstat (limited to 'llvm/utils/lit')
| -rw-r--r-- | llvm/utils/lit/lit/TestRunner.py | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py index d0c7417c248..f0049526cce 100644 --- a/llvm/utils/lit/lit/TestRunner.py +++ b/llvm/utils/lit/lit/TestRunner.py @@ -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 | 

