[all-commits] [llvm/llvm-project] 320568: [orc-rt] Move ErrorTest death tests to an ErrorDea...

Lang Hames via All-commits all-commits at lists.llvm.org
Tue Jul 14 06:49:55 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3205689645eea30c9d7fde2474bdeff52629210d
      https://github.com/llvm/llvm-project/commit/3205689645eea30c9d7fde2474bdeff52629210d
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M orc-rt/test/unit/ErrorTest.cpp

  Log Message:
  -----------
  [orc-rt] Move ErrorTest death tests to an ErrorDeathTest suite. (#209476)

GoogleTest recommends putting death tests in a suite whose name ends in
"DeathTest": it runs those suites before all others, which avoids the
fork-after-threads hazard that can make death tests flaky.

Move the nine EXPECT_DEATH tests in ErrorTest.cpp from the ErrorTest
suite to a new ErrorDeathTest suite. Only the suite name changes; the
test bodies are untouched.



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