[llvm] 98e8a06 - [FileCheck] Use %ProtectFileCheckOutput in allow-unused-prefixes.txt

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 07:08:31 PST 2020


Author: Mircea Trofin
Date: 2020-11-05T07:08:20-08:00
New Revision: 98e8a06e72d4ea5633b981b1ebc372178017912a

URL: https://github.com/llvm/llvm-project/commit/98e8a06e72d4ea5633b981b1ebc372178017912a
DIFF: https://github.com/llvm/llvm-project/commit/98e8a06e72d4ea5633b981b1ebc372178017912a.diff

LOG: [FileCheck] Use %ProtectFileCheckOutput in allow-unused-prefixes.txt

Differential Revision: https://reviews.llvm.org/D90631

Added: 
    

Modified: 
    llvm/test/FileCheck/allow-unused-prefixes.txt

Removed: 
    


################################################################################
diff  --git a/llvm/test/FileCheck/allow-unused-prefixes.txt b/llvm/test/FileCheck/allow-unused-prefixes.txt
index c808bddf7756..c61bb41e3947 100644
--- a/llvm/test/FileCheck/allow-unused-prefixes.txt
+++ b/llvm/test/FileCheck/allow-unused-prefixes.txt
@@ -1,5 +1,5 @@
-; RUN: 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: 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
+; 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
 ; RUN: FileCheck --allow-unused-prefixes=true  --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt 
 
 ;; Note: the default will be changed to 'false', at which time this run line


        


More information about the llvm-commits mailing list