Skip to content

Commit c779fac

Browse files
author
kendal
committed
[lldb][test] Remove getCompilerBinary() helper
1 parent 70c6e79 commit c779fac

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lldb/packages/Python/lldbsuite/test/lldbplatformutil.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,16 +266,11 @@ def getCompiler():
266266
return module.getCompiler()
267267

268268

269-
def getCompilerBinary():
270-
"""Returns the compiler binary the test suite is running with."""
271-
return getCompiler().split()[0]
272-
273-
274269
def getCompilerVersion():
275270
"""Returns a string that represents the compiler version.
276271
Supports: llvm, clang.
277272
"""
278-
compiler = getCompilerBinary()
273+
compiler = getCompiler()
279274
version_output = subprocess.check_output([compiler, "--version"], errors="replace")
280275
m = re.search("version ([0-9.]+)", version_output)
281276
if m:

0 commit comments

Comments
 (0)