From 4b1b09fcc0d75ad4d5559f0b86049627174db585 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Wed, 10 Jun 2020 10:22:24 -0400 Subject: [PATCH] [FileCheck] Add missing %ProtectFileCheckOutput to FileCheck tests This is a continuation of D65121 (committed at f471eb8e99b5). --- llvm/test/FileCheck/numeric-expression.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/test/FileCheck/numeric-expression.txt b/llvm/test/FileCheck/numeric-expression.txt index 7859e20..fd4a2e5 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 -- 2.7.4