diff options
author | Julian Lettner <jlettner@apple.com> | 2019-02-14 22:30:07 +0000 |
---|---|---|
committer | Julian Lettner <jlettner@apple.com> | 2019-02-14 22:30:07 +0000 |
commit | 96adb78b120b6aa9739eb714534dc8e819f7bc52 (patch) | |
tree | 065ef17df39eb3b6b42738c1951bc5a78faec390 /llvm/utils/lit/tests/max-failures.py | |
parent | 9e5e868d95c25c1c5b09f315cc9f7f15885d61a2 (diff) | |
download | bcm5719-llvm-96adb78b120b6aa9739eb714534dc8e819f7bc52.tar.gz bcm5719-llvm-96adb78b120b6aa9739eb714534dc8e819f7bc52.zip |
[lit] Set --single-process for single tests and --threads=1
Summary:
Automatically upgrade debugging experience (single process, no thread
pool) when:
1) we only run a single test
2) user specifies `-j1`
Details:
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?
Reviewers: rnk
Differential Revision: https://reviews.llvm.org/D58249
llvm-svn: 354068
Diffstat (limited to 'llvm/utils/lit/tests/max-failures.py')
-rw-r--r-- | llvm/utils/lit/tests/max-failures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/tests/max-failures.py b/llvm/utils/lit/tests/max-failures.py index ca107bc29b9..f37f73d7add 100644 --- a/llvm/utils/lit/tests/max-failures.py +++ b/llvm/utils/lit/tests/max-failures.py @@ -11,4 +11,4 @@ # CHECK: Failing Tests (27) # CHECK: Failing Tests (1) # CHECK: Failing Tests (2) -# CHECK: error: Setting --max-failures to 0 does not have any effect. +# CHECK: error: Option '--max-failures' requires positive integer |