[llvm] r225693 - [LIT] Remove string decoding in gtest discovery code. lit.util.capture now does decoding.
Eric Fiselier
eric at efcs.ca
Mon Jan 12 12:43:35 PST 2015
Author: ericwf
Date: Mon Jan 12 14:43:34 2015
New Revision: 225693
URL: http://llvm.org/viewvc/llvm-project?rev=225693&view=rev
Log:
[LIT] Remove string decoding in gtest discovery code. lit.util.capture now does decoding.
Modified:
llvm/trunk/utils/lit/lit/formats/googletest.py
Modified: llvm/trunk/utils/lit/lit/formats/googletest.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/formats/googletest.py?rev=225693&r1=225692&r2=225693&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/formats/googletest.py (original)
+++ llvm/trunk/utils/lit/lit/formats/googletest.py Mon Jan 12 14:43:34 2015
@@ -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')
More information about the llvm-commits
mailing list