On z/OS, the following error message is not matched correctly in lit tests. ``` EDC5129I No such file or directory. ``` This patch uses a lit config substitution to check for platform specific error messages. Reviewed By: muiez, jhenderson Differential Revision: https://reviews.llvm.org/D95246
11 lines
286 B
ArmAsm
11 lines
286 B
ArmAsm
# RUN: rm -rf %t.dir
|
|
# RUN: mkdir -p %t.dir
|
|
# RUN: cd %t.dir
|
|
|
|
# RUN: not ld.lld --reproduce repro.tar abc -o t 2>&1 | FileCheck -DMSG=%errc_ENOENT %s
|
|
# CHECK: cannot open abc: [[MSG]]
|
|
|
|
# RUN: tar xOf repro.tar repro/response.txt | FileCheck --check-prefix=RSP %s
|
|
# RSP: abc
|
|
# RSP: -o t
|