================
@@ -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 --".
----------------
royitaqi wrote:
We do need a target. At the end of this test, it validates that the output of
"statistics dump" command is a valid JSON object. In order for such output to
be generated, we need a target. Otherwise the command says:
> (lldb) statistics dump
> error: invalid target, create a target using the 'target create' command
https://github.com/llvm/llvm-project/pull/94067
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits