def METHOD_NAME(self, genconfig: GenConfig, launch: LauncherType) -> None:
    config = genconfig(["--launcher", launch])
    driver = m.LegateDriver(config, SYSTEM)
    parts = (
        part(config, SYSTEM, driver.launcher) for part in CMD_PARTS_LEGION
    )
    expected_cmd = driver.launcher.cmd + sum(parts, ())
    assert driver.cmd == expected_cmd