From 70d009dbe3f537dbba5ee7c758f7e05f7b98d35d Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 2 May 2019 00:04:44 +0000 Subject: [PATCH] [FileCheck] Fix line-count.txt test Summary: Enable currently skipped diagnostic test and fix column number Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk Subscribers: JonChesterfield, rogfer01, hfinkel, kristina, rnk, tra, arichardson, grimar, dblaikie, probinson, llvm-commits, hiraditya Tags: #llvm Differential Revision: https://reviews.llvm.org/D61320 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359742 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FileCheck/line-count.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/FileCheck/line-count.txt b/test/FileCheck/line-count.txt index d685dc7bd2b..d51762a90d7 100644 --- a/test/FileCheck/line-count.txt +++ b/test/FileCheck/line-count.txt @@ -9,7 +9,7 @@ ; RUN: not FileCheck -check-prefix BAD8 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR8 %s ; RUN: not FileCheck -check-prefix BAD9 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR9 %s ; RUN: not FileCheck -check-prefix BAD10 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR10 %s -; RUN: not FileCheck -check-prefix BAD10 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR10 %s +; RUN: not FileCheck -check-prefix BAD11 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR11 %s 13 14 aaa 15 bbb @@ -53,7 +53,7 @@ 53 ERR10: line-count.txt:[[#@LINE-1]]:19: error: invalid offset in numeric expression 'x' 54 55 BAD11: [[@LINE-1x]] -56 ERR11: line-count.txt:[[#@LINE-1]]:19: error: unexpected characters at end of numeric expression 'x' +56 ERR11: line-count.txt:[[#@LINE-1]]:20: error: unexpected characters at end of numeric expression 'x' 57 58 CHECK: [[#@LINE]] CHECK 59 CHECK: [[# @LINE]] CHECK -- 2.50.1