Skip to content

Commit cb65e6f

Browse files
rupprechtmemfrob
authored andcommitted
[test] Fix another realpath->abspath.
This is a followup to 817b3a6fe3a4452eb61a2503c8beaa7267ca0351: in `builder_base` we should use abspath, not realpath, because the name is significant. This is used by test cases that use `@skipIf(compiler="clang", compiler_version=['<', <version>])`
1 parent f3091b7 commit cb65e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/packages/Python/lldbsuite/test/plugins/builder_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def getCompiler():
3434
"""Returns the compiler in effect the test suite is running with."""
3535
compiler = configuration.compiler if configuration.compiler else "clang"
3636
compiler = lldbutil.which(compiler)
37-
return os.path.realpath(compiler)
37+
return os.path.abspath(compiler)
3838

3939

4040
def getArchFlag():

0 commit comments

Comments
 (0)