[Lldb-commits] [lldb] [lldb][test] Fix call signature in TestAppleSimulatorOSType (PR #191185)

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 9 06:05:28 PDT 2026


https://github.com/Teemperor created https://github.com/llvm/llvm-project/pull/191185

Commit 918e446ef28ac97df20d6ef2bd50c78e2fe903ac removed the stderr_lines_to_read argument but didn't adjust the call site in TestAppleSimulatorOSType. This patch just removes the extra arg here too.

>From 649ab08bdfdbebad8187ec3fe0eb84e7804c8745 Mon Sep 17 00:00:00 2001
From: Raphael Isemann <rise at apple.com>
Date: Thu, 9 Apr 2026 13:59:18 +0100
Subject: [PATCH] [lldb][test] Fix call signature in TestAppleSimulatorOSType

Commit 918e446ef28ac97df20d6ef2bd50c78e2fe903ac removed the
stderr_lines_to_read argument but didn't adjust the call site
in TestAppleSimulatorOSType. This patch just removes the extra arg
here too.
---
 lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py b/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
index 3dc11a3ff74f2..9e59ffd5db6e2 100644
--- a/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
+++ b/lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
@@ -13,9 +13,6 @@
 class TestAppleSimulatorOSType(gdbremote_testcase.GdbRemoteTestCaseBase):
     SHARED_BUILD_TESTCASE = False
 
-    # Number of stderr lines to read from the simctl output.
-    READ_LINES = 10
-
     def check_simulator_ostype(self, sdk, platform_name, arch=platform.machine()):
         # Get simulator
         deviceUDID = None
@@ -59,7 +56,6 @@ def check_simulator_ostype(self, sdk, platform_name, arch=platform.machine()):
             deviceUDID,
             self.getBuildArtifact(exe_name),
             ["print-pid", "sleep:10"],
-            self.READ_LINES,
             [r"PID: (.*)"],
             self.trace,
         )



More information about the lldb-commits mailing list