[all-commits] [llvm/llvm-project] 58996c: [Util] Only run --update-tests functions on failin...

Henrik G. Olsson via All-commits all-commits at lists.llvm.org
Mon Aug 25 13:29:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58996c0ba62db2f4f704e7d583306e54e06b5953
      https://github.com/llvm/llvm-project/commit/58996c0ba62db2f4f704e7d583306e54e06b5953
  Author: Henrik G. Olsson <hnrklssn at gmail.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M llvm/utils/lit/lit/TestRunner.py
    M llvm/utils/lit/lit/worker.py
    A llvm/utils/lit/tests/Inputs/pass-test-update/fail.test
    A llvm/utils/lit/tests/Inputs/pass-test-update/lit.cfg
    A llvm/utils/lit/tests/Inputs/pass-test-update/pass-silent.test
    A llvm/utils/lit/tests/Inputs/pass-test-update/pass.test
    A llvm/utils/lit/tests/Inputs/pass-test-update/should_not_run.py
    A llvm/utils/lit/tests/Inputs/pass-test-update/xfail.test
    A llvm/utils/lit/tests/Inputs/pass-test-update/xpass.test
    A llvm/utils/lit/tests/pass-test-update.py

  Log Message:
  -----------
  [Util] Only run --update-tests functions on failing tests (#155148)

The early exit we relied on to only invoke test updaters for failing
tests requires that there was no output to stdout or stderr, and that
timeouts weren't enabled. When these conditions weren't fulfilled, test
updaters would be invoked even on passing or XFAILed tests.



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