[llvm] [z/OS] Modify regex in error message to match on z/OS. (PR #194020)

Sean Perry via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 08:14:13 PDT 2026


================
@@ -18,7 +18,7 @@
 # CHECK: Command Output (stderr):
 # CHECK-NEXT: --
 # CHECK-NOT: --
-# CHECK: cat{{(_64)?(\.exe)?}}: {{(cannot open does-not-exist|.*does-not-exist.*: No such file or directory)}}
+# CHECK: cat{{(_64)?(\.exe)?}}: {{(cannot open does-not-exist|.*does-not-exist.*: .*No such file or directory)}}
----------------
perry-ca wrote:

If you know when the `cannot open <file>` message is used you could use the if syntax on the RUN step to select between the two instead of using a regex.  With the use of the internal shell is it even still possible to generate that style of message?

https://github.com/llvm/llvm-project/pull/194020


More information about the llvm-commits mailing list