[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225693 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/formats/googletest.py

index 1b5b78564561bee0e767d9764e1cc55babd5164d..59ac3c5cb370064e954f0efdbba4ebab5b3e5ccb 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')