[FileCheck] Use %ProtectFileCheckOutput in recently added test
authorJoel E. Denny <jdenny.ornl@gmail.com>
Mon, 30 May 2022 20:26:17 +0000 (16:26 -0400)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Mon, 30 May 2022 20:27:24 +0000 (16:27 -0400)
llvm/test/FileCheck/missspelled-directive.txt

index bb62558..d8ef009 100644 (file)
@@ -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:'