[llvm] 0dbaff2 - [FileCheck] Use %ProtectFileCheckOutput in recently added test

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Mon May 30 13:28:38 PDT 2022


Author: Joel E. Denny
Date: 2022-05-30T16:27:24-04:00
New Revision: 0dbaff2a49224b1d3089325d9d5fc9f56385c142

URL: https://github.com/llvm/llvm-project/commit/0dbaff2a49224b1d3089325d9d5fc9f56385c142
DIFF: https://github.com/llvm/llvm-project/commit/0dbaff2a49224b1d3089325d9d5fc9f56385c142.diff

LOG: [FileCheck] Use %ProtectFileCheckOutput in recently added test

Added: 
    

Modified: 
    llvm/test/FileCheck/missspelled-directive.txt

Removed: 
    


################################################################################
diff  --git a/llvm/test/FileCheck/missspelled-directive.txt b/llvm/test/FileCheck/missspelled-directive.txt
index bb6255823941..d8ef009edabb 100644
--- a/llvm/test/FileCheck/missspelled-directive.txt
+++ b/llvm/test/FileCheck/missspelled-directive.txt
@@ -1,10 +1,10 @@
-RUN: not FileCheck --check-prefix=P1 %s 2>&1 | FileCheck --check-prefix=CHECK1 %s
-RUN: not FileCheck --check-prefix=P2 %s 2>&1 | FileCheck --check-prefix=CHECK2 %s
-RUN: not FileCheck --check-prefix=P3 %s 2>&1 | FileCheck --check-prefix=CHECK3 %s
-RUN: not FileCheck --check-prefix=P4 %s 2>&1 | FileCheck --check-prefix=CHECK4 %s
-RUN: not FileCheck --check-prefix=P5 %s 2>&1 | FileCheck --check-prefix=CHECK5 %s
-RUN: not FileCheck --check-prefix=P6 %s 2>&1 | FileCheck --check-prefix=CHECK6 %s
-RUN: not FileCheck --check-prefix=P7 %s 2>&1 | FileCheck --check-prefix=CHECK7 %s
+RUN: %ProtectFileCheckOutput not FileCheck --check-prefix=P1 %s 2>&1 | FileCheck --check-prefix=CHECK1 %s
+RUN: %ProtectFileCheckOutput not FileCheck --check-prefix=P2 %s 2>&1 | FileCheck --check-prefix=CHECK2 %s
+RUN: %ProtectFileCheckOutput not FileCheck --check-prefix=P3 %s 2>&1 | FileCheck --check-prefix=CHECK3 %s
+RUN: %ProtectFileCheckOutput not FileCheck --check-prefix=P4 %s 2>&1 | FileCheck --check-prefix=CHECK4 %s
+RUN: %ProtectFileCheckOutput not FileCheck --check-prefix=P5 %s 2>&1 | FileCheck --check-prefix=CHECK5 %s
+RUN: %ProtectFileCheckOutput not FileCheck --check-prefix=P6 %s 2>&1 | FileCheck --check-prefix=CHECK6 %s
+RUN: %ProtectFileCheckOutput not FileCheck --check-prefix=P7 %s 2>&1 | FileCheck --check-prefix=CHECK7 %s
 
 P1_LABEL: foo
 CHECK1: error: misspelled directive 'P1_LABEL:'


        


More information about the llvm-commits mailing list