[Lldb-commits] [lldb] r370718 - [lldb][NFC] Simplify script_alias test

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 3 02:21:47 PDT 2019


Author: teemperor
Date: Tue Sep  3 02:21:47 2019
New Revision: 370718

URL: http://llvm.org/viewvc/llvm-project?rev=370718&view=rev
Log:
[lldb][NFC] Simplify script_alias test

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/commands/command/script_alias/TestCommandScriptAlias.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/command/script_alias/TestCommandScriptAlias.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/command/script_alias/TestCommandScriptAlias.py?rev=370718&r1=370717&r2=370718&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/command/script_alias/TestCommandScriptAlias.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/command/script_alias/TestCommandScriptAlias.py Tue Sep  3 02:21:47 2019
@@ -13,10 +13,7 @@ class CommandScriptAliasTestCase(TestBas
 
     mydir = TestBase.compute_mydir(__file__)
 
-    def test(self):
-        self.pycmd_tests()
-
-    def pycmd_tests(self):
+    def test_pycmd(self):
         self.runCmd("command script import tcsacmd.py")
         self.runCmd("command script add -f tcsacmd.some_command_here attach")
 




More information about the lldb-commits mailing list