llvm.org GIT mirror llvm / release_70 test / FileCheck / verbose_mode.txt
release_70

Tree @release_70 (Download .tar.gz)

verbose_mode.txt @release_70raw · history · blame

; RUN: not FileCheck -input-file %s %s --check-prefix=CHECK1 --match-full-lines --dump-input-on-failure 2>&1 | FileCheck %s --check-prefix=CHECKERROR --match-full-lines
; RUN: env FILECHECK_DUMP_INPUT_ON_FAILURE=1 not FileCheck -input-file %s %s --check-prefix=CHECK1 --match-full-lines 2>&1 |  FileCheck %s --check-prefix=CHECKERROR --match-full-lines
; RUN: env FILECHECK_DUMP_INPUT_ON_FAILURE=1 not FileCheck -input-file %s %s --check-prefix=CHECK1 --match-full-lines --dump-input-on-failure=0 2>&1 |  FileCheck %s --check-prefix=CHECKERRORNOVERBOSE --match-full-lines

hello
world

; CHECK1: ciao
; CHECK1-NEXT: world

; CHECKERROR: Full input was:
; CHECKERROR-NEXT: <<<<<<
; CHECKERROR: hello
; CHECKERROR: world
; CHECKERROR: >>>>>>

; CHECKERRORNOVERBOSE-NOT: <<<<<<