MCPcopy Index your code
hub / github.com/python/cpython / run_testbed

Function run_testbed

Platforms/Apple/testbed/__main__.py:263–283  ·  view source on GitHub ↗
(
    platform: str,
    simulator: str | None,
    args: list[str],
    verbose: bool = False,
)

Source from the content-addressed store, hash-verified

261
262
263def run_testbed(
264 platform: str,
265 simulator: str | None,
266 args: list[str],
267 verbose: bool = False,
268):
269 location = Path(__file__).parent
270 print("Updating test plan...", end="")
271 update_test_plan(location, platform, args)
272 print(" done.")
273
274 if simulator is None:
275 simulator = select_simulator_device(platform)
276 print(f"Running test on {simulator}")
277
278 xcode_test(
279 location,
280 platform=platform,
281 simulator=simulator,
282 verbose=verbose,
283 )
284
285
286def main():

Callers 1

mainFunction · 0.70

Calls 4

PathClass · 0.90
update_test_planFunction · 0.85
select_simulator_deviceFunction · 0.85
xcode_testFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…