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

via llvm-commits llvm-commits at lists.llvm.org
Mon May 11 08:53:29 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)}}
----------------
sujianIBM wrote:

Hello, I modified shtest-format.py to use both `%errc_ENOENT` and `%if`.
Would you please take a look? 
If this is OK, I will apply the same change to shtest-output-printing.
Thanks!

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


More information about the llvm-commits mailing list