1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/docs/CommandGuide
Joel E. Denny eaa132dc46 [lit] Add --ignore-fail
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
2021-02-24 13:10:27 -05:00
..
bugpoint.rst
dsymutil.rst
FileCheck.rst
index.rst
lit.rst [lit] Add --ignore-fail 2021-02-24 13:10:27 -05:00
llc.rst
lli.rst
llvm-addr2line.rst
llvm-ar.rst
llvm-as.rst
llvm-bcanalyzer.rst
llvm-config.rst
llvm-cov.rst
llvm-cxxfilt.rst
llvm-cxxmap.rst
llvm-diff.rst
llvm-dis.rst
llvm-dwarfdump.rst
llvm-exegesis-analysis.png
llvm-exegesis.rst
llvm-extract.rst
llvm-install-name-tool.rst
llvm-lib.rst
llvm-libtool-darwin.rst [llvm-libtool] Emit warnings for files without symbols 2021-02-16 17:52:12 -08:00
llvm-link.rst
llvm-lipo.rst
llvm-locstats.rst
llvm-mca.rst
llvm-nm.rst
llvm-objcopy.rst [llvm-objcopy] Delete --build-id-link-{dir,input,output} 2021-02-15 11:17:32 -08:00
llvm-objdump.rst
llvm-pdbutil.rst
llvm-profdata.rst
llvm-profgen.rst
llvm-ranlib.rst
llvm-readelf.rst
llvm-readobj.rst
llvm-size.rst
llvm-stress.rst
llvm-strings.rst
llvm-strip.rst
llvm-symbolizer.rst
locstats-compare.png
locstats-draw-plot.png
opt.rst
tblgen.rst