[llvm-branch-commits] [clang] 2c4f6be - [SystemZ][z/OS] Fix No such file or directory expression error

Abhina Sreeskantharajan via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jan 19 04:35:12 PST 2021


Author: Abhina Sreeskantharajan
Date: 2021-01-19T07:25:24-05:00
New Revision: 2c4f6be86c14c28243915ab9eb3a2ff1902fee99

URL: https://github.com/llvm/llvm-project/commit/2c4f6be86c14c28243915ab9eb3a2ff1902fee99
DIFF: https://github.com/llvm/llvm-project/commit/2c4f6be86c14c28243915ab9eb3a2ff1902fee99.diff

LOG: [SystemZ][z/OS] Fix No such file or directory expression error

On z/OS, the following error message is not matched correctly in lit tests. This patch updates the CHECK expression to match the end period successfully.
```
EDC5129I No such file or directory.
```

Differential Revision: https://reviews.llvm.org/D94239

Added: 
    

Modified: 
    clang/test/Frontend/stats-file.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Frontend/stats-file.c b/clang/test/Frontend/stats-file.c
index 007bb7f00b6c..0d0a97b0d1d6 100644
--- a/clang/test/Frontend/stats-file.c
+++ b/clang/test/Frontend/stats-file.c
@@ -5,4 +5,4 @@
 // CHECK: }
 
 // RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%t.doesnotexist/bla %s 2>&1 | FileCheck -check-prefix=OUTPUTFAIL %s
-// OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '{{.*}}{{[Nn]}}o such file or directory'
+// OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '{{.*}}{{[Nn]}}o such file or directory{{.*}}'


        


More information about the llvm-branch-commits mailing list