[Lldb-commits] [lldb] e605994 - [lldb/test] Fix TestHistoryRecall failure (NFC)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 23 04:27:24 PDT 2020
Author: Med Ismail Bennani
Date: 2020-07-23T13:27:12+02:00
New Revision: e605994bb30610107607f4267046e70a43852b97
URL: https://github.com/llvm/llvm-project/commit/e605994bb30610107607f4267046e70a43852b97
DIFF: https://github.com/llvm/llvm-project/commit/e605994bb30610107607f4267046e70a43852b97.diff
LOG: [lldb/test] Fix TestHistoryRecall failure (NFC)
This patch fixes a test failure in TestHistoryRecall caused by the move
of the `history` subcommand to the `session` command.
This change was introduced by commit 85fbb08fa2ac5195dc7a2f13eea7de1471da2a21.
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
Added:
Modified:
lldb/test/API/functionalities/history/TestHistoryRecall.py
Removed:
################################################################################
diff --git a/lldb/test/API/functionalities/history/TestHistoryRecall.py b/lldb/test/API/functionalities/history/TestHistoryRecall.py
index 557b4a4c082b..18ab2ca0fe6e 100644
--- a/lldb/test/API/functionalities/history/TestHistoryRecall.py
+++ b/lldb/test/API/functionalities/history/TestHistoryRecall.py
@@ -25,12 +25,12 @@ def test_history_recall(self):
def sample_test(self):
interp = self.dbg.GetCommandInterpreter()
result = lldb.SBCommandReturnObject()
- interp.HandleCommand("command history", result, True)
+ interp.HandleCommand("session history", result, True)
interp.HandleCommand("platform list", result, True)
interp.HandleCommand("!0", result, False)
self.assertTrue(result.Succeeded(), "!0 command did not work: %s"%(result.GetError()))
- self.assertTrue("command history" in result.GetOutput(), "!0 didn't rerun command history")
+ self.assertTrue("session history" in result.GetOutput(), "!0 didn't rerun session history")
interp.HandleCommand("!-1", result, False)
self.assertTrue(result.Succeeded(), "!-1 command did not work: %s"%(result.GetError()))
More information about the lldb-commits
mailing list