[PATCH] D58249: [lit] Set --single-process for single tests and --threads=1

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 14 12:57:13 PST 2019


yln created this revision.
Herald added subscribers: llvm-commits, delcypher.
Herald added a reviewer: serge-sans-paille.
Herald added a project: LLVM.

Automatically upgrade debugging experience (single process, no thread
pool) when:

1. we only run a single test
2. user specifies `-j1`

Fix `--max-failures` in single process mode. Option did not have an
effect in single process mode.

Add display feedback for single process mode. Adapted test.

Improve argument checking (require positive integers).

`--single-process` is now essentially an alias for `-j1`. Should we
remove it?


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D58249

Files:
  llvm/utils/lit/lit/LitConfig.py
  llvm/utils/lit/lit/discovery.py
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/lit/run.py
  llvm/utils/lit/lit/worker.py
  llvm/utils/lit/tests/max-failures.py
  llvm/utils/lit/tests/unit/TestRunner.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58249.186902.patch
Type: text/x-patch
Size: 6090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190214/f99614ac/attachment.bin>


More information about the llvm-commits mailing list