[all-commits] [llvm/llvm-project] c56363: [lldb][test] Don't run simulator tests in parallel...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Mon Jun 8 02:39:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c563635ab70e44216aef28b3b89918eb7a23595c
      https://github.com/llvm/llvm-project/commit/c563635ab70e44216aef28b3b89918eb7a23595c
  Author: Raphael Isemann <rise at apple.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M lldb/test/API/lit.cfg.py
    A lldb/test/API/macosx/simulator/lit.local.cfg
    R lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
    A lldb/test/API/tools/lldb-server/apple-simulator/Makefile
    A lldb/test/API/tools/lldb-server/apple-simulator/TestAppleSimulatorOSType.py
    A lldb/test/API/tools/lldb-server/apple-simulator/lit.local.cfg
    A lldb/test/API/tools/lldb-server/apple-simulator/main.cpp

  Log Message:
  -----------
  [lldb][test] Don't run simulator tests in parallel to stabilize them (#201870)

TestSimulatorPlatform is a notoriously flaky test on macOS. However, it
seems the test failures only happen when its exectuion overlaps with the
execution of TestAppleSimulatorOSType.py (which also interacts with the
simulator). Somehow one simulator test seems to break the other one, but
it's not exactly clear how they are inteferring with each other.

This patch ensures these two tests never run in parallel to avoid these
kind of issues. It creates a parallelism_group in lit for
apple-simulator and then puts both tests into that group.

TestAppleSimulatorOSType.py had to be moved to its own directory for
this. It shared its directory with a a lot of other unrelated tests and
the lit config applies to the whole directory.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list