diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2020-03-27 23:58:06 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-06-09 18:57:46 +0000 |
commit | d31c9e5a46ee692daf2430b52626afcea1db18ab (patch) | |
tree | b685bab36ba0187e9e52380d5d6bc3432acd55a0 /llvm/docs/CommandGuide/FileCheck.rst | |
parent | d9dec697cbb7f825aa1b8e6336027675a01a0823 (diff) | |
download | llvm-d31c9e5a46ee692daf2430b52626afcea1db18ab.zip llvm-d31c9e5a46ee692daf2430b52626afcea1db18ab.tar.gz llvm-d31c9e5a46ee692daf2430b52626afcea1db18ab.tar.bz2 |
Change filecheck default to dump input on failure
Having the input dumped on failure seems like a better
default: I debugged FileCheck tests for a while without knowing
about this option, which really helps to understand failures.
Remove `-dump-input-on-failure` and the environment variable
FILECHECK_DUMP_INPUT_ON_FAILURE which are now obsolete.
Differential Revision: https://reviews.llvm.org/D81422
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.rst')
-rw-r--r-- | llvm/docs/CommandGuide/FileCheck.rst | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/docs/CommandGuide/FileCheck.rst b/llvm/docs/CommandGuide/FileCheck.rst index 0512133..b2e3dfc 100644 --- a/llvm/docs/CommandGuide/FileCheck.rst +++ b/llvm/docs/CommandGuide/FileCheck.rst @@ -106,13 +106,8 @@ and from the command line. .. option:: --dump-input <mode> Dump input to stderr, adding annotations representing currently enabled - diagnostics. Do this either 'always', on 'fail', or 'never'. Specify 'help' - to explain the dump format and quit. - -.. option:: --dump-input-on-failure - - When the check fails, dump all of the original input. This option is - deprecated in favor of `--dump-input=fail`. + diagnostics. Do this either 'always', on 'fail' (default), or 'never'. + Specify 'help' to explain the dump format and quit. .. option:: --enable-var-scope |