summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-08-27 11:43:54 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-08-27 11:43:54 +0000
commit73f01068a7008b14563e3ae8ee8f5caed13ca32f (patch)
tree36d5972b2ce478698bf6d8fe68c3d8f6201008e0 /lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
parentaec6884e88ad4bb0a3c95035235b689a7bdbacf5 (diff)
downloadbcm5719-llvm-73f01068a7008b14563e3ae8ee8f5caed13ca32f.tar.gz
bcm5719-llvm-73f01068a7008b14563e3ae8ee8f5caed13ca32f.zip
[lldb][NFC] Give added test method a unique name
Otherwise dotest doesn't run the test and just lets it always pass. Also update the comment to explain that we do directory and not file completion. llvm-svn: 370047
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
index 0b5b3a416a0..2df341e572d 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
@@ -138,8 +138,8 @@ class CommandLineCompletionTestCase(TestBase):
['main.cpp'])
@skipIfFreeBSD # timing out on the FreeBSD buildbot
- def test_log_file(self):
- # Complete in our source directory which contains a 'main.cpp' file.
+ def test_log_dir(self):
+ # Complete our source directory.
src_dir = os.path.dirname(os.path.realpath(__file__))
self.complete_from_to('log enable lldb expr -f ' + src_dir,
[src_dir + "/"])
OpenPOWER on IntegriCloud