[lldb] [test/lldb-vscode] Use realpath to match vscode behavior
authorMichal Gorny <mgorny@gentoo.org>
Tue, 30 Jul 2019 07:47:22 +0000 (07:47 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Tue, 30 Jul 2019 07:47:22 +0000 (07:47 +0000)
commit89a214eaf10bb83082c5bed8805c4bbdd4145e09
tree927d5341903ed86e349e5ff11801cd2c9fed0af7
parent71e32aca46d122c801a7db58a0d84d387fa80b29
[lldb] [test/lldb-vscode] Use realpath to match vscode behavior

Compare the directory paths returned by lldb-vscode against realpaths
rather than apparent paths.  This matches lldb-vscode behavior
and therefore fixes test failures when one of the parent directories
of the source tree is a symlink.

Differential Revision: https://reviews.llvm.org/D65432

llvm-svn: 367291
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py