[LIT] Remove string decoding in gtest discovery code. lit.util.capture now does decoding.
authorEric Fiselier <eric@efcs.ca>
Mon, 12 Jan 2015 20:43:34 +0000 (20:43 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 12 Jan 2015 20:43:34 +0000 (20:43 +0000)
llvm-svn: 225693

llvm/utils/lit/lit/formats/googletest.py

index 1b5b785..59ac3c5 100644 (file)
@@ -31,7 +31,6 @@ class GoogleTest(TestFormat):
         try:
             lines = lit.util.capture([path, '--gtest_list_tests'],
                                      env=localConfig.environment)
-            lines = lines.decode('utf-8')
             if kIsWindows:
               lines = lines.replace('\r', '')
             lines = lines.split('\n')