[Lldb-commits] [lldb] 633ac51 - [lldb] Simplify TestCompletion.py
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 1 06:49:37 PDT 2021
Author: Pavel Labath
Date: 2021-10-01T15:49:23+02:00
New Revision: 633ac5170996da6a80a2236bed99913b66ed1d27
URL: https://github.com/llvm/llvm-project/commit/633ac5170996da6a80a2236bed99913b66ed1d27
DIFF: https://github.com/llvm/llvm-project/commit/633ac5170996da6a80a2236bed99913b66ed1d27.diff
LOG: [lldb] Simplify TestCompletion.py
Added:
Modified:
lldb/test/API/functionalities/completion/TestCompletion.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/completion/TestCompletion.py b/lldb/test/API/functionalities/completion/TestCompletion.py
index 2bba1bfcb7dd6..8332048313a9d 100644
--- a/lldb/test/API/functionalities/completion/TestCompletion.py
+++ b/lldb/test/API/functionalities/completion/TestCompletion.py
@@ -233,7 +233,7 @@ def test_target_symbols_add_shlib(self):
def test_log_file(self):
# Complete in our source directory which contains a 'main.cpp' file.
- src_dir = os.path.dirname(os.path.realpath(__file__)) + '/'
+ src_dir = self.getSourceDir() + '/'
self.complete_from_to('log enable lldb expr -f ' + src_dir,
['main.cpp'])
More information about the lldb-commits
mailing list