Author: Jordan Rupprecht Date: 2020-08-04T11:06:31-07:00 New Revision: 31ec6e969d601eb4fbee7bd4be3d03d23b5b3c11
URL: https://github.com/llvm/llvm-project/commit/31ec6e969d601eb4fbee7bd4be3d03d23b5b3c11 DIFF: https://github.com/llvm/llvm-project/commit/31ec6e969d601eb4fbee7bd4be3d03d23b5b3c11.diff LOG: [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>])` Added: Modified: lldb/packages/Python/lldbsuite/test/plugins/builder_base.py Removed: ################################################################################ diff --git a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py index a8114b3e0592..0cff6655ed77 100644 --- a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py +++ b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py @@ -34,7 +34,7 @@ def getCompiler(): """Returns the compiler in effect the test suite is running with.""" compiler = configuration.compiler if configuration.compiler else "clang" compiler = lldbutil.which(compiler) - return os.path.realpath(compiler) + return os.path.abspath(compiler) def getArchFlag(): _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits