[llvm] 4b1b09f - [FileCheck] Add missing %ProtectFileCheckOutput to FileCheck tests
Joel E. Denny via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 09:43:02 PDT 2020
Author: Joel E. Denny
Date: 2020-06-10T12:40:35-04:00
New Revision: 4b1b09fcc0d75ad4d5559f0b86049627174db585
URL: https://github.com/llvm/llvm-project/commit/4b1b09fcc0d75ad4d5559f0b86049627174db585
DIFF: https://github.com/llvm/llvm-project/commit/4b1b09fcc0d75ad4d5559f0b86049627174db585.diff
LOG: [FileCheck] Add missing %ProtectFileCheckOutput to FileCheck tests
This is a continuation of D65121 (committed at f471eb8e99b5).
Added:
Modified:
llvm/test/FileCheck/numeric-expression.txt
Removed:
################################################################################
diff --git a/llvm/test/FileCheck/numeric-expression.txt b/llvm/test/FileCheck/numeric-expression.txt
index 7859e208d8d9..fd4a2e5b4b45 100644
--- a/llvm/test/FileCheck/numeric-expression.txt
+++ b/llvm/test/FileCheck/numeric-expression.txt
@@ -426,6 +426,7 @@ REDEF-NEW-FMT-MSG-NEXT: {{R}}EDEF-NEW-FMT-NEXT: {{\[\[#%X,UNSI:\]\]}}
REDEF-NEW-FMT-MSG-NEXT: {{^}} ^{{$}}
; Numeric expression with overflow.
+RUN: %ProtectFileCheckOutput \
RUN: not FileCheck --check-prefix OVERFLOW --input-file %s %s 2>&1 \
RUN: | FileCheck --check-prefix OVERFLOW-MSG --strict-whitespace %s
@@ -438,6 +439,7 @@ OVERFLOW-MSG-NEXT: {{O}}VERFLOW-NEXT: BIGVAR: {{\[\[#BIGVAR:0x8000000000000000\+
OVERFLOW-MSG-NEXT: {{^}} ^{{$}}
; Numeric expression with underflow.
+RUN: %ProtectFileCheckOutput \
RUN: not FileCheck --check-prefix UNDERFLOW --input-file %s %s 2>&1 \
RUN: | FileCheck --check-prefix UNDERFLOW-MSG --strict-whitespace %s
More information about the llvm-commits
mailing list