[llvm-branch-commits] [llvm] 06f8a49 - [SystemZ][z/OS] Fix No such file or directory expression error
Abhina Sreeskantharajan via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jan 22 08:46:54 PST 2021
Author: Abhina Sreeskantharajan
Date: 2021-01-22T11:41:40-05:00
New Revision: 06f8a49693957bc27b83e0ab5f429ff874941a07
URL: https://github.com/llvm/llvm-project/commit/06f8a49693957bc27b83e0ab5f429ff874941a07
DIFF: https://github.com/llvm/llvm-project/commit/06f8a49693957bc27b83e0ab5f429ff874941a07.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:
llvm/test/tools/llvm-libtool-darwin/filelist.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-libtool-darwin/filelist.test b/llvm/test/tools/llvm-libtool-darwin/filelist.test
index bb606f0585fa..a8d8dac95a49 100644
--- a/llvm/test/tools/llvm-libtool-darwin/filelist.test
+++ b/llvm/test/tools/llvm-libtool-darwin/filelist.test
@@ -65,13 +65,13 @@
# RUN: not llvm-libtool-darwin -static -o %t.lib -filelist %t.invalid-list.txt 2>&1 | \
# RUN: FileCheck %s --check-prefix=FILE-ERROR -DFILE=no-such-file
-# FILE-ERROR: error: '[[FILE]]': {{[nN]}}o such file or directory
+# FILE-ERROR: error: '[[FILE]]': {{.*}}{{[nN]}}o such file or directory
## Check that an error is thrown when the directory exists but does not contain the requested file:
# RUN: not llvm-libtool-darwin -static -o %t.lib -filelist %t.invalid-list.txt,%t/dirname 2>&1 | \
# RUN: FileCheck %s --check-prefix=DIR-ERROR -DDIR=%t/dirname -DFILE=no-such-file
-# DIR-ERROR: error: '[[DIR]]{{[/\\]}}[[FILE]]': {{[nN]}}o such file or directory
+# DIR-ERROR: error: '[[DIR]]{{[/\\]}}[[FILE]]': {{.*}}{{[nN]}}o such file or directory
## Check that an error is thrown when a file is in the cwd but dirname is specified:
# RUN: yaml2obj %S/Inputs/input2.yaml -o %basename_t.tmp-input2.o
More information about the llvm-branch-commits
mailing list