[Lldb-commits] [lldb] [lldb/Commands] Alias `script` command to `scripting execute` (PR #97263)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 1 16:13:05 PDT 2024


================
@@ -80,7 +80,9 @@ def test_command_abbreviations_and_aliases(self):
         # Check a command that wants the raw input.
         command_interpreter.ResolveCommand(r"""sc print("\n\n\tHello!\n")""", result)
         self.assertTrue(result.Succeeded())
-        self.assertEqual(r"""script print("\n\n\tHello!\n")""", result.GetOutput())
----------------
jimingham wrote:

Since you are explicitly making the default lldb treat `script` as an alias for script execute, it might be good to test that as well.  We're already testing `sc` just above.

https://github.com/llvm/llvm-project/pull/97263


More information about the lldb-commits mailing list