[Lldb-commits] [lldb] Fix a test failure in PR #92843 (PR #94067)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri May 31 15:56:58 PDT 2024


================
@@ -177,7 +177,8 @@ def test_get_transcript(self):
         # (lldb) r
         self.assertEqual(transcript[3]["command"], "r")
         self.assertEqual(transcript[3]["commandName"], "process launch")
-        self.assertEqual(transcript[3]["commandArguments"], "-X true --")
+        # Not checking `commandArguments`, because it can be different on different platforms/configurations.
+        # On macOS, it's "-X true --". On Linux, it's "-c/bin/bash --".
----------------
clayborg wrote:

Do you really need to launch a process for this test? Maybe just don't use "process launch"? Will save some time on the test bots not having to launch a process.

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


More information about the lldb-commits mailing list