mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
eaa132dc46
For some build configurations, `check-all` calls lit multiple times to run multiple lit test suites. Most recently, I've found this to be true when configuring openmp as part of `LLVM_ENABLE_RUNTIMES`, but this is not the first time. If one test suite fails, none of the remaining test suites run, so you cannot determine if your patch has broken them. It can then be frustrating to try to determine which `check-` targets will run the remaining tests without getting stuck on the failing tests. When such cases arise, it is probably best to adjust the cmake configuration for `check-all` to run all test suites as part of one lit invocation. Because that fix will likely not be implemented and land immediately, this patch introduces `--ignore-fail` to serve as a workaround for developers trying to see test results until it does land: ``` $ LIT_OPTS=--ignore-fail ninja check-all ``` One problem with `--ignore-fail` is that it makes it challenging to detect test failures in a script, perhaps in CI. This problem should serve as motivation to actually fix the cmake configuration instead of continuing to use `--ignore-fail` indefinitely. Reviewed By: jhenderson, thopre Differential Revision: https://reviews.llvm.org/D96371 |
||
---|---|---|
.. | ||
Inputs | ||
unit | ||
.coveragerc | ||
allow-retries.py | ||
boolean-parsing.py | ||
custom-result-category.py | ||
discovery.py | ||
early-tests.py | ||
googletest-discovery-failed.py | ||
googletest-format.py | ||
googletest-timeout.py | ||
googletest-upstream-format.py | ||
ignore-fail.py | ||
lit-opts.py | ||
lit.cfg | ||
lit.site.cfg.in | ||
max-failures.py | ||
max-time.py | ||
parallelism-groups.py | ||
progress-bar.py | ||
selecting.py | ||
shell-parsing.py | ||
show-result-codes.py | ||
show-used-features.py | ||
shtest-encoding.py | ||
shtest-env.py | ||
shtest-format-argv0.py | ||
shtest-format.py | ||
shtest-inject.py | ||
shtest-keyword-parse-errors.py | ||
shtest-not.py | ||
shtest-output-printing.py | ||
shtest-recursive-substitution.py | ||
shtest-run-at-line.py | ||
shtest-shell.py | ||
shtest-timeout.py | ||
test-data-micro.py | ||
test-data.py | ||
test-output-micro.py | ||
test-output.py | ||
unittest-adaptor.py | ||
unparsed-requirements.py | ||
usage.py | ||
xfail-cl.py | ||
xunit-output.py |