[Lldb-commits] [lldb] r370047 - [lldb][NFC] Give added test method a unique name

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 27 04:43:54 PDT 2019


Author: teemperor
Date: Tue Aug 27 04:43:54 2019
New Revision: 370047

URL: http://llvm.org/viewvc/llvm-project?rev=370047&view=rev
Log:
[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.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py?rev=370047&r1=370046&r2=370047&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py Tue Aug 27 04:43:54 2019
@@ -138,8 +138,8 @@ class CommandLineCompletionTestCase(Test
                               ['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 + "/"])




More information about the lldb-commits mailing list