2020-11-02 19:26:28 +01:00
|
|
|
; RUN: %ProtectFileCheckOutput not FileCheck --allow-unused-prefixes=false --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt 2>&1 | FileCheck --check-prefix=MISSING-ONE %s
|
|
|
|
; RUN: %ProtectFileCheckOutput not FileCheck --allow-unused-prefixes=false --check-prefixes=P1,P2,P3 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt 2>&1 | FileCheck --check-prefix=MISSING-MORE %s
|
2020-10-29 01:44:13 +01:00
|
|
|
; RUN: FileCheck --allow-unused-prefixes=true --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt
|
2021-02-03 00:18:00 +01:00
|
|
|
; RUN: FileCheck --allow-unused-prefixes=false --allow-unused-prefixes=true --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt
|
2021-02-08 22:37:03 +01:00
|
|
|
; RUN: not FileCheck --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt
|
2020-10-29 01:44:13 +01:00
|
|
|
|
|
|
|
; MISSING-ONE: error: no check strings found with prefix 'P2:'
|
2020-11-02 17:50:34 +01:00
|
|
|
; MISSING-MORE: error: no check strings found with prefixes 'P2:', 'P3:'
|