blob: 2146d6a95c46f8d4720cfac038790d88e5d6841c [file] [log] [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: <<<<<<