forked from OSchip/llvm-project
[LIT] Remove string decoding in gtest discovery code. lit.util.capture now does decoding.
llvm-svn: 225693
This commit is contained in:
parent
75e259ed95
commit
ffbadedcf9
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue