diff options
author | Francis Ricci <francisjricci@gmail.com> | 2016-04-25 20:36:22 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2016-04-25 20:36:22 +0000 |
commit | cef04a25f65b1759063b3ea3cda81e6a7afc5427 (patch) | |
tree | 1d8ff0b9ac24a3a96d506c05bb532fe5af568692 /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | 4692f52daa9d305b375cf2d2e9f3b5da8a352021 (diff) | |
download | bcm5719-llvm-cef04a25f65b1759063b3ea3cda81e6a7afc5427.tar.gz bcm5719-llvm-cef04a25f65b1759063b3ea3cda81e6a7afc5427.zip |
Store absolute path for lldb executable in dotest.py
Summary:
lldb-server tests are currently being skipped on the
check-lldb target. This is because we get the path of
lldb-server by modifying the path to the lldb executable.
However, by this point, we've changed directories, and a
relative path to the build/bin directory will no longer point
to the location of lldb-server.
Storing an absolute path solves this issue.
Reviewers: vharron, zturner, tfiala, labath
Subscribers: labath, lldb-commits, sas
Differential Revision: http://reviews.llvm.org/D19082
llvm-svn: 267463
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index fa164a61890..ef75ad91187 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -307,7 +307,7 @@ def parseOptionsAndInitTestdirs(): configuration.lldbFrameworkPath = args.framework if args.executable: - lldbtest_config.lldbExec = args.executable + lldbtest_config.lldbExec = os.path.realpath(args.executable) if args.p: if args.p.startswith('-'): |